mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 15:02:22 +01:00
DDC-754: Support static targetEntity for Self-referencing #930
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 18, 2010).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user vrtak-cz:
My idea is create BaseTreeEntity
@doctrinebot commented on GitHub (Oct 4, 2011):
Comment created by @guilhermeblanco:
Since you point to a different instance in each Association of child classes, the association definition cannot be declared in parent class.
If you still want to enforce this, you must define the root hierarchy class as targetEntity.
Marking the ticket as invalid.
@doctrinebot commented on GitHub (Oct 4, 2011):
Issue was closed with resolution "Invalid"