lib/Doctrine/ORM/UnitOfWork.php
public function isEntityScheduled($entity)
    {
        $oid = spl_object_id($entity);

        return isset($this->entityInsertions[$oid])
            || isset($this->entityUpdates[$oid])
            || isset($this->entityDeletions[$oid]);
    }
public function isEntityScheduled($entity)
    {
        $oid = spl_object_id($entity);

        return isset($this->entityInsertions[$oid])
            || isset($this->entityUpdates[$oid])
            || isset($this->entityDeletions[$oid]);
    }
public function isEntityScheduled ( $ entity ) { $ oid = spl_object_id ( $ entity ) ; return isset ( $ this -> entityInsertions [ $ oid ] ) || isset ( $ this -> entityUpdates [ $ oid ] ) || isset ( $ this -> entityDeletions [ $ oid ] ) ; }
Checks whether an entity is scheduled for insertion, update or deletion.

@param object $entity

@return bool
Checks whether an entity is scheduled for insertion update or deletion .