Commit f3f72edb authored by beberlei's avatar beberlei

[2.0] Give public access to the computed collection deletions and updates for...

[2.0] Give public access to the computed collection deletions and updates for possible use with the onFlush event.
parent 2482773b
...@@ -2103,4 +2103,24 @@ class UnitOfWork implements PropertyChangedListener ...@@ -2103,4 +2103,24 @@ class UnitOfWork implements PropertyChangedListener
{ {
return $this->_entityDeletions; 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;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment