/** * Returns the name of the repository. * * @return string */ function getRepoName() { return $this->repo ? $this->repo->getName() : 'unknown'; }