public function getGitRoot() { if (!isset($this->_git_root)) { $this->_git_root = $this->createGitRoot(); } return $this->_git_root; }