Doctrine\ORM\UnitOfWork::scheduleOrphanRemoval PHP 메소드

scheduleOrphanRemoval() 공개 메소드

INTERNAL: Schedules an orphaned entity for removal. The remove() operation will be invoked on that entity at the beginning of the next commit of this UnitOfWork.
public scheduleOrphanRemoval ( object $entity )
$entity object
    public function scheduleOrphanRemoval($entity)
    {
        $this->orphanRemovals[spl_object_hash($entity)] = $entity;
    }