public function isScheduledForSynchronization(object $document) : bool
    {
        $class = $this->dm->getClassMetadata(get_class($document));
        return isset($this->scheduledForSynchronization[$class->name][spl_object_hash($document)]);
    }
public function isScheduledForSynchronization(object $document) : bool
    {
        $class = $this->dm->getClassMetadata(get_class($document));
        return isset($this->scheduledForSynchronization[$class->name][spl_object_hash($document)]);
    }
public function isScheduledForSynchronization ( object $ document ) : bool { $ class = $ this -> dm -> getClassMetadata ( get_class ( $ document ) ) ; return isset ( $ this -> scheduledForSynchronization [ $ class -> name ] [ spl_object_hash ( $ document ) ] ) ; }
Checks whether a document is registered to be checked in the unit of work.
Checks whether a document is registered to be checked in the unit of work .