Knp\Bundle\KnpBundlesBundle\Git\RepoManager::createGitRepo PHP Метод

createGitRepo() защищенный Метод

protected createGitRepo ( Bundle $bundle ) : PHPGit_Repository
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
Результат PHPGit_Repository
    protected function createGitRepo(BundleEntity $bundle)
    {
        $targetDir = $this->getRepoDir($bundle);
        $this->filesystem->mkdir($targetDir);
        return $this->cloneRepo($bundle->getGitUrl(), $targetDir);
    }