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

hasRepo() public méthode

public hasRepo ( Bundle $repo ) : boolean
$repo Knp\Bundle\KnpBundlesBundle\Entity\Bundle
Résultat boolean
    public function hasRepo(BundleEntity $repo)
    {
        $dir = $this->getRepoDir($repo);
        return is_dir($dir . '/.git');
    }