Neos.ContentRepository/Classes/Domain/Service/Cache/FirstLevelNodeCache.php
public function setChildNodesByPathAndNodeTypeFilter($path, $nodeTypeFilter, array $nodes)
    {
        if (!isset($this->childNodesByPathAndNodeTypeFilter[$path])) {
            $this->childNodesByPathAndNodeTypeFilter[$path] = [];
        }

        foreach ($nodes as $node) {
            /** @var NodeInterface $node */
            $this->nodesByPath[$node->getPath()] = $node;
            $this->nodesByIdentifier[$node->getIdentifier()] = $node;
        }

        $this->childNodesByPathAndNodeTypeFilter[$path][$nodeTypeFilter] = $nodes;
    }
public function setChildNodesByPathAndNodeTypeFilter($path, $nodeTypeFilter, array $nodes)
    {
        if (!isset($this->childNodesByPathAndNodeTypeFilter[$path])) {
            $this->childNodesByPathAndNodeTypeFilter[$path] = [];
        }

        foreach ($nodes as $node) {
            /** @var NodeInterface $node */
            $this->nodesByPath[$node->getPath()] = $node;
            $this->nodesByIdentifier[$node->getIdentifier()] = $node;
        }

        $this->childNodesByPathAndNodeTypeFilter[$path][$nodeTypeFilter] = $nodes;
    }
public function setChildNodesByPathAndNodeTypeFilter ( $ path , $ nodeTypeFilter , array $ nodes ) { if ( ! isset ( $ this -> childNodesByPathAndNodeTypeFilter [ $ path ] ) ) { $ this -> childNodesByPathAndNodeTypeFilter [ $ path ] = [ ] ; } foreach ( $ nodes as $ node ) { /** @var NodeInterface $node */ $ this -> nodesByPath [ $ node -> getPath ( ) ] = $ node ; $ this -> nodesByIdentifier [ $ node -> getIdentifier ( ) ] = $ node ; } $ this -> childNodesByPathAndNodeTypeFilter [ $ path ] [ $ nodeTypeFilter ] = $ nodes ; }
Sets the given nodes as child nodes for the given path and node type filter.
The nodes will each be added with their path and identifier as well.

@param string $path
@param string $nodeTypeFilter
@param array $nodes
@return void
Sets the given nodes as child nodes for the given path and node type filter . The nodes will each be added with their path and identifier as well .