Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top