protected function initMultiVcsRepositories(Composer $composer, IOInterface $io)
    {
        $repoDownloader = new GitMultiRepoDownloader($io, $composer->getConfig());
        foreach ($this->getVcsTypes() as $type) {
            $composer->getDownloadManager()
                ->setDownloader($type, $repoDownloader);
            $composer->getRepositoryManager()
                ->setRepositoryClass($type, $this->getMultiRepositoryClassName());
        }

        return $this;
    }
protected function initMultiVcsRepositories(Composer $composer, IOInterface $io)
    {
        $repoDownloader = new GitMultiRepoDownloader($io, $composer->getConfig());
        foreach ($this->getVcsTypes() as $type) {
            $composer->getDownloadManager()
                ->setDownloader($type, $repoDownloader);
            $composer->getRepositoryManager()
                ->setRepositoryClass($type, $this->getMultiRepositoryClassName());
        }

        return $this;
    }
protected function initMultiVcsRepositories ( Composer $ composer , IOInterface $ io ) { $ repoDownloader = new GitMultiRepoDownloader ( $ io , $ composer -> getConfig ( ) ) ; foreach ( $ this -> getVcsTypes ( ) as $ type ) { $ composer -> getDownloadManager ( ) -> setDownloader ( $ type , $ repoDownloader ) ; $ composer -> getRepositoryManager ( ) -> setRepositoryClass ( $ type , $ this -> getMultiRepositoryClassName ( ) ) ; } return $ this ; }
Init multi VCS repository

@param Composer    $composer
@param IOInterface $io
@return $this
Init multi VCS repository