If you have an absolute path use {@link getNodeByPath()} for better
performance.
public getNode ( string $relPath, string $context, string $class = 'Node' ) : PHPCR\NodeInterface | ||
$relPath | string | relative path |
$context | string | context path |
$class | string | optional class name for the factory |
Résultat | PHPCR\NodeInterface | The specified Node. if not available, ItemNotFoundException is thrown |