source/Spiral/ORM/Entities/Nodes/AbstractNode.php
final public function registerNode(string $container, AbstractNode $node)
    {
        $node->container = $container;
        $node->parent = $this;

        $this->nodes[$container] = $node;

        if (!empty($node->outerKey)) {
            //This will make parser to aggregate such key in order to be used in later statement
            $this->trackReference($node->outerKey);
        }
    }
final public function registerNode(string $container, AbstractNode $node)
    {
        $node->container = $container;
        $node->parent = $this;

        $this->nodes[$container] = $node;

        if (!empty($node->outerKey)) {
            //This will make parser to aggregate such key in order to be used in later statement
            $this->trackReference($node->outerKey);
        }
    }
final public function registerNode ( string $ container , AbstractNode $ node ) { $ node -> container = $ container ; $ node -> parent = $ this ; $ this -> nodes [ $ container ] = $ node ; if ( ! empty ( $ node -> outerKey ) ) { //This will make parser to aggregate such key in order to be used in later statement $ this -> trackReference ( $ node -> outerKey ) ; } }
Register new node into NodeTree. Nodes used to convert flat results into tree representation
using reference aggregations.

@param string       $container
@param AbstractNode $node

@throws NodeException
Register new node into NodeTree . Nodes used to convert flat results into tree representation using reference aggregations .