public function triggerDelete($repository_path) { $all_mirrors = $this->data_mapper->fetchAll(); foreach ($all_mirrors as $mirror) { $this->generator->removeRepositoryFromManifestFile($mirror, $repository_path); } }
private function getAllMirrorsPresenter($title) { return new Git_AdminMirrorListPresenter($title, $this->csrf, $this->getMirrorPresenters($this->git_mirror_mapper->fetchAll())); }
public function getGitoliteDotConfForHostname(array $project_names) { return $this->template_renderer->renderToString('gitolite-with-hostname.conf', new Git_Gitolite_Presenter_GitoliteConfPresenter($project_names, $this->data_mapper->fetchAll())); }