public function getTree($path = '', $rootAlias = 't', $extraParams = array())
    {
        $results = $this->getFlatTree($path, $rootAlias, $extraParams);

        return $this->buildTree($results);
    }
public function getTree($path = '', $rootAlias = 't', $extraParams = array())
    {
        $results = $this->getFlatTree($path, $rootAlias, $extraParams);

        return $this->buildTree($results);
    }
public function getTree ( $ path = '' , $ rootAlias = 't' , $ extraParams = array ( ) ) { $ results = $ this -> getFlatTree ( $ path , $ rootAlias , $ extraParams ) ; return $ this -> buildTree ( $ results ) ; }
Returns a node hydrated with its children and parents

@api

@param string $path
@param string $rootAlias
@param array  $extraParams To be used in addFlatTreeConditions

@return NodeInterface a node
Returns a node hydrated with its children and parents