Doctrine\ODM\MongoDB\UnitOfWork::getScheduledDocumentDeletions PHP Method

getScheduledDocumentDeletions() public method

Gets the currently scheduled document deletions in this UnitOfWork.
    public function getScheduledDocumentDeletions()
    {
        return $this->documentDeletions;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Get the scheduled object deletions from a UnitOfWork
  *
  * @param UnitOfWork $uow
  * @return array
  */
 public function getScheduledObjectDeletions(UnitOfWork $uow)
 {
     return $uow->getScheduledDocumentDeletions();
 }
UnitOfWork