public getCachedNodeByUuid ( $uuid, string $class = 'Node' ) : PHPCR\NodeInterface | ||
$uuid | ||
$class | string | |
return | 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;
}