private function getTree(Project $project)
    {
        $key = $project->getBuildDir();
        if (!isset($this->cachedTree[$key])) {
            $this->cachedTree[$key] = $this->tree->getTree($project);
        }

        return $this->cachedTree[$key];
    }
private function getTree(Project $project)
    {
        $key = $project->getBuildDir();
        if (!isset($this->cachedTree[$key])) {
            $this->cachedTree[$key] = $this->tree->getTree($project);
        }

        return $this->cachedTree[$key];
    }
private function getTree ( Project $ project ) { $ key = $ project -> getBuildDir ( ) ; if ( ! isset ( $ this -> cachedTree [ $ key ] ) ) { $ this -> cachedTree [ $ key ] = $ this -> tree -> getTree ( $ project ) ; } return $ this -> cachedTree [ $ key ] ; }
Get tree for the given project.

@param Project $project

@return array
Get tree for the given project .