mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1219: Remove dependancy on Collection interface in Domain Objects #1530
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 (Jun 21, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user anderom:
Short: This issue is all about being able to use doctrine with naked domain objects without any use of doctrine classes.
I 'm not talking about PersistentCollection here, fully aware of that being tied into Doctrine, but those are injected, this is all about code dependency on ArrayCollection.
Seems like some of the UnitOfWork code is cable of handling other types of arrays, like:
But in *cascade functions this is not the case in all but two:
2 however have:
Would it be an idea to do "instanceof Traversable" instead of " instanceof Collection"?