Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Doctrine 中是否有类似 Rails 的多态关联?我正在尝试做类似的事情:http ://railscasts.com/episodes/154-polymorphic-association
是的,有点。遗产。我目前在工作中的项目上使用具体和列聚合,但它不如多态关联强大。
更多信息在这里。