Neos.ContentRepository/Classes/Domain/Service/Cache/FirstLevelNodeCache.php
public function getByIdentifier($identifier)
    {
        if (isset($this->nodesByIdentifier[$identifier])) {
            return $this->nodesByIdentifier[$identifier];
        }

        return false;
    }
public function getByIdentifier($identifier)
    {
        if (isset($this->nodesByIdentifier[$identifier])) {
            return $this->nodesByIdentifier[$identifier];
        }

        return false;
    }
public function getByIdentifier ( $ identifier ) { if ( isset ( $ this -> nodesByIdentifier [ $ identifier ] ) ) { return $ this -> nodesByIdentifier [ $ identifier ] ; } return false ; }
If the cache contains a node with the given identifier, it is returned.

Otherwise false is returned.

@param string $identifier
@return NodeInterface|boolean
If the cache contains a node with the given identifier it is returned .