@@ 2403-2411 (lines=9) @@ | ||
2400 | * |
|
2401 | * @param PersistentCollectionInterface $coll |
|
2402 | */ |
|
2403 | public function unscheduleCollectionDeletion(PersistentCollectionInterface $coll) |
|
2404 | { |
|
2405 | $oid = spl_object_hash($coll); |
|
2406 | if (isset($this->collectionDeletions[$oid])) { |
|
2407 | $topmostOwner = $this->getOwningDocument($coll->getOwner()); |
|
2408 | unset($this->collectionDeletions[$oid]); |
|
2409 | unset($this->hasScheduledCollections[spl_object_hash($topmostOwner)][$oid]); |
|
2410 | } |
|
2411 | } |
|
2412 | ||
2413 | /** |
|
2414 | * INTERNAL: |
|
@@ 2441-2449 (lines=9) @@ | ||
2438 | * |
|
2439 | * @param PersistentCollectionInterface $coll |
|
2440 | */ |
|
2441 | public function unscheduleCollectionUpdate(PersistentCollectionInterface $coll) |
|
2442 | { |
|
2443 | $oid = spl_object_hash($coll); |
|
2444 | if (isset($this->collectionUpdates[$oid])) { |
|
2445 | $topmostOwner = $this->getOwningDocument($coll->getOwner()); |
|
2446 | unset($this->collectionUpdates[$oid]); |
|
2447 | unset($this->hasScheduledCollections[spl_object_hash($topmostOwner)][$oid]); |
|
2448 | } |
|
2449 | } |
|
2450 | ||
2451 | /** |
|
2452 | * Checks whether a PersistentCollection is scheduled for update. |