[2.0] Give public access to the computed collection deletions and updates for possible use with the onFlush event.
This commit is contained in:
parent
2482773b03
commit
f3f72edb45
@ -2103,4 +2103,24 @@ class UnitOfWork implements PropertyChangedListener
|
||||
{
|
||||
return $this->_entityDeletions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the currently scheduled complete collection deletions
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getScheduledCollectionDeletions()
|
||||
{
|
||||
return $this->_collectionDeletions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the currently scheduled collection inserts, updates and deletes.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getScheduledCollectionUpdates()
|
||||
{
|
||||
return $this->_collectionUpdates;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user