开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜