Jackalope\ObjectManager::getCachedNodeByUuid PHP 메소드

getCachedNodeByUuid() 공개 메소드

As getCachedNode but looking up the node by uuid. Note that this will never return you a removed node because the uuid is removed from the map.
또한 보기: getCachedNode
public getCachedNodeByUuid ( $uuid, string $class = 'Node' ) : PHPCR\NodeInterface
$uuid
$class string
리턴 PHPCR\NodeInterface or null
    public function getCachedNodeByUuid($uuid, $class = 'Node')
    {
        if (array_key_exists($uuid, $this->objectsByUuid)) {
            return $this->getCachedNode($this->objectsByUuid[$uuid], $class);
        }
        return null;
    }