Polymorphic Associations in Doctrine?
Is there an equivalent to Rails-like polymorphic associations in Doctrine? I'm trying开发者_如何学运维 to do something similar to: http://railscasts.com/episodes/154-polymorphic-association
Yes, sort of. Inheritance. I am currently using concrete and column aggregation on a project at work, but it's not as powerful as polymorphic associations.
More info here.
精彩评论