/** * Get name of current repo * * @return string */ protected function getRepoName() { $dir = $this->repository->getDirectory(); return basename($dir); }