protected createGitRepo ( |
||
$bundle | ||
return | PHPGit_Repository |
protected function createGitRepo(BundleEntity $bundle)
{
$targetDir = $this->getRepoDir($bundle);
$this->filesystem->mkdir($targetDir);
return $this->cloneRepo($bundle->getGitUrl(), $targetDir);
}