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

tryGetByIdHash() 공개 메소드

INTERNAL: Tries to get an entity by its identifier hash. If no entity is found for the given hash, FALSE is returned.
public tryGetByIdHash ( string $idHash, string $rootClassName ) : mixed
$idHash string
$rootClassName string
리턴 mixed The found entity or FALSE.
    public function tryGetByIdHash($idHash, $rootClassName)
    {
        return isset($this->identityMap[$rootClassName][$idHash]) ?
                $this->identityMap[$rootClassName][$idHash] : false;
    }