Knp\Bundle\KnpBundlesBundle\Git\RepoManager::createGitRepo PHP Méthode

createGitRepo() protected méthode

protected createGitRepo ( Bundle $bundle ) : PHPGit_Repository
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
Résultat PHPGit_Repository
    protected function createGitRepo(BundleEntity $bundle)
    {
        $targetDir = $this->getRepoDir($bundle);
        $this->filesystem->mkdir($targetDir);
        return $this->cloneRepo($bundle->getGitUrl(), $targetDir);
    }