public function scheduleCollectionUpdate(PersistentCollectionInterface $coll)
{
$mapping = $coll->getMapping();
if (CollectionHelper::usesSet($mapping['strategy'])) {
/* There is no need to $unset collection if it will be $set later
* This is NOP if collection is not scheduled for deletion
*/
$this->unscheduleCollectionDeletion($coll);
}
$oid = spl_object_hash($coll);
if (!isset($this->collectionUpdates[$oid])) {
$this->collectionUpdates[$oid] = $coll;
$this->scheduleCollectionOwner($coll);
}
}