If the node does not exist in the specified context's workspace, this function will
try to find one with the given path in one of the base workspaces (if any).
Examples for valid paths:
the root node
foo node "foo" on the first level
foo/bar node "bar" on the second level
foo/ first node on second level, below "foo"
public findOneByPathInContext ( string $path, |
||
$path | string | Absolute path of the node |
$context | The containing context | |
return | Neos\ContentRepository\Domain\Model\NodeInterface | null | The matching node if found, otherwise NULL |