protected function hasVcsRepository($name)
    {
        foreach ($this->repositoryManager->getRepositories() as $mRepo) {
            if ($mRepo instanceof AssetVcsRepository
                    && $name === $mRepo->getComposerPackageName()) {
                return true;
            }
        }

        return false;
    }
protected function hasVcsRepository($name)
    {
        foreach ($this->repositoryManager->getRepositories() as $mRepo) {
            if ($mRepo instanceof AssetVcsRepository
                    && $name === $mRepo->getComposerPackageName()) {
                return true;
            }
        }

        return false;
    }
protected function hasVcsRepository ( $ name ) { foreach ( $ this -> repositoryManager -> getRepositories ( ) as $ mRepo ) { if ( $ mRepo instanceof AssetVcsRepository && $ name === $ mRepo -> getComposerPackageName ( ) ) { return true ; } } return false ; }
Checks if the package vcs repository is already include in repository manager.

@param string $name The package name of the vcs repository

@return bool
Checks if the package vcs repository is already include in repository manager .