mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1417] [WIP] Generator: Associations annotations improvement #9472
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?
Original Pull Request: https://github.com/doctrine/orm/pull/1417
State: closed
Merged: No
Doctrine\Common\Collections\CollectionbyRelatedEntity[]|\Doctrine\Common\Collections\ArrayCollectionusestatement forArrayCollectionusestatement for related entitiesThis is a proposal for association mapping annotations improvement.
In a nutshell, I replaced
CollectionbyArrayCollectionon getter annotation becauseArrayCollectionis used on constructor. I also addRelatedEntity[]annotation which is more IDE friendly.I'm planning to add
usestatement too for FQN usage avoiding.If you this made some regressions, we could maybe introduce it as an option.
Regards