开发者

Polymorphic Associations in Doctrine?

开发者 https://www.devze.com 2022-12-25 06:11 出处:网络
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-associationYes, sort

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

精彩评论

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

关注公众号