Neos.ContentRepository/Classes/Domain/Model/Node.php
public function getNode($path): ?NodeInterface
    {
        $absolutePath = $this->nodeService->normalizePath($path, $this->getPath());
        $node = $this->context->getFirstLevelNodeCache()->getByPath($absolutePath);
        if ($node !== false) {
            return $node;
        }
        $node = $this->nodeDataRepository->findOneByPathInContext($absolutePath, $this->context);
        $this->context->getFirstLevelNodeCache()->setByPath($absolutePath, $node);
        return $node;
    }
public function getNode($path): ?NodeInterface
    {
        $absolutePath = $this->nodeService->normalizePath($path, $this->getPath());
        $node = $this->context->getFirstLevelNodeCache()->getByPath($absolutePath);
        if ($node !== false) {
            return $node;
        }
        $node = $this->nodeDataRepository->findOneByPathInContext($absolutePath, $this->context);
        $this->context->getFirstLevelNodeCache()->setByPath($absolutePath, $node);
        return $node;
    }
public function getNode ( $ path ) : ? NodeInterface { $ absolutePath = $ this -> nodeService -> normalizePath ( $ path , $ this -> getPath ( ) ) ; $ node = $ this -> context -> getFirstLevelNodeCache ( ) -> getByPath ( $ absolutePath ) ; if ( $ node !== false ) { return $ node ; } $ node = $ this -> nodeDataRepository -> findOneByPathInContext ( $ absolutePath , $ this -> context ) ; $ this -> context -> getFirstLevelNodeCache ( ) -> setByPath ( $ absolutePath , $ node ) ; return $ node ; }
Returns a node specified by the given relative path.

@param string $path Path specifying the node, relative to this node
@return NodeInterface|null The specified node or NULL if no such node exists
@deprecated with version 4.3 - use findNamedChildNode() instead - for absolute paths a new API will be added with 5.0
Returns a node specified by the given relative path .