public function unscheduleCollectionDeletion(PersistentCollectionInterface $coll) : void
    {
        if ($coll->getOwner() === null) {
            return;
        }

        $oid = spl_object_hash($coll);
        if (! isset($this->collectionDeletions[$oid])) {
            return;
        }

        $topmostOwner = $this->getOwningDocument($coll->getOwner());
        unset($this->collectionDeletions[$oid]);
        unset($this->hasScheduledCollections[spl_object_hash($topmostOwner)][$oid]);
    }
public function unscheduleCollectionDeletion(PersistentCollectionInterface $coll) : void
    {
        if ($coll->getOwner() === null) {
            return;
        }

        $oid = spl_object_hash($coll);
        if (! isset($this->collectionDeletions[$oid])) {
            return;
        }

        $topmostOwner = $this->getOwningDocument($coll->getOwner());
        unset($this->collectionDeletions[$oid]);
        unset($this->hasScheduledCollections[spl_object_hash($topmostOwner)][$oid]);
    }
public function unscheduleCollectionDeletion ( PersistentCollectionInterface $ coll ) : void { if ( $ coll -> getOwner ( ) === null ) { return ; } $ oid = spl_object_hash ( $ coll ) ; if ( ! isset ( $ this -> collectionDeletions [ $ oid ] ) ) { return ; } $ topmostOwner = $ this -> getOwningDocument ( $ coll -> getOwner ( ) ) ; unset ( $ this -> collectionDeletions [ $ oid ] ) ; unset ( $ this -> hasScheduledCollections [ spl_object_hash ( $ topmostOwner ) ] [ $ oid ] ) ; }
Unschedules a collection from being deleted when this UnitOfWork commits.

@internal
Unschedules a collection from being deleted when this UnitOfWork commits .