public function scheduleCollectionUpdate(PersistentCollectionInterface $coll) : void
    {
        $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])) {
            return;
        }

        $this->collectionUpdates[$oid] = $coll;
        $this->scheduleCollectionOwner($coll);
    }
public function scheduleCollectionUpdate(PersistentCollectionInterface $coll) : void
    {
        $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])) {
            return;
        }

        $this->collectionUpdates[$oid] = $coll;
        $this->scheduleCollectionOwner($coll);
    }
public function scheduleCollectionUpdate ( PersistentCollectionInterface $ coll ) : void { $ 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 ] ) ) { return ; } $ this -> collectionUpdates [ $ oid ] = $ coll ; $ this -> scheduleCollectionOwner ( $ coll ) ; }
Schedules a collection for update when this UnitOfWork commits.

@internal
Schedules a collection for update when this UnitOfWork commits .