mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-696: Add onClear Event #857
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 (Jul 19, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
There should be an event "onClear" that is called whenever someone calls "EntityManager::clear()".
This may be necessary in certain long-running script scenarios when you have additional identity maps / caching, for example based on unique fields of an entity.
@doctrinebot commented on GitHub (Aug 7, 2010):
Comment created by romanb:
Sounds like a new feature that is not urgent. Can we move that post 2.0?
@doctrinebot commented on GitHub (Aug 8, 2010):
Comment created by romanb:
Moving to 2.1.
@doctrinebot commented on GitHub (Mar 24, 2011):
Comment created by mridgway:
I posted a patch for this to Github at https://github.com/doctrine/doctrine2/pull/40
(I'm just making sure that this is logged to JIRA)
@doctrinebot commented on GitHub (Mar 29, 2011):
Comment created by @beberlei:
Merged mridgways branch, thank you!
@doctrinebot commented on GitHub (Mar 29, 2011):
Issue was closed with resolution "Fixed"