mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3793: Unit Of Work - Proxy injected collections 'PersistentCollections' #4651
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 24, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user leonelvsc:
Hi all , i was looking to extend ArrayCollection i did it, but i notice something very very unusual, when an entity is loaded from the DB the unit of work most precisely on the method 'createEntity' it injects PersistentCollection object in the collections of all the entities, why you do that ?
Is there any way to inject my own subclass of PersistentCollection to the proxy objects ? Of course i know that i have to also extend PersistentCollection and create a CustomPersistentCollection
Sry for my english
@doctrinebot commented on GitHub (Jun 24, 2015):
@doctrinebot commented on GitHub (Jun 24, 2015):
Comment created by @ocramius:
Custom persistent collections are not yet supported.
See DDC-80 and DDC-391
@doctrinebot commented on GitHub (Jun 24, 2015):
Issue was closed with resolution "Duplicate"
@doctrinebot commented on GitHub (Jun 24, 2015):
Comment created by leonelvsc:
Thx for answering so quickly , well i just hope in some future version you add this feature eventually