public function getRoot()
    {
        if (!$this->root) {
            $this->root = $this->active->getContext()->getCurrentSiteNode();
        }

        return $this->root;
    }
public function getRoot()
    {
        if (!$this->root) {
            $this->root = $this->active->getContext()->getCurrentSiteNode();
        }

        return $this->root;
    }
public function getRoot ( ) { if ( ! $ this -> root ) { $ this -> root = $ this -> active -> getContext ( ) -> getCurrentSiteNode ( ) ; } return $ this -> root ; }
Get the root node

@return NodeInterface
Get the root node