1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add support for alternative structures

This commit is contained in:
bboer 2012-08-29 13:26:53 +02:00
parent e2f8098f53
commit 93628c42d8
2 changed files with 28 additions and 8 deletions

View file

@ -50,6 +50,9 @@ class VcsRepository extends ArrayRepository
$this->type = isset($repoConfig['type']) ? $repoConfig['type'] : 'vcs';
$this->verbose = $io->isVerbose();
$this->config = $config;
if (isset($repoConfig['config']) && is_array($repoConfig['config'])) {
$this->config->merge(array('config' => $repoConfig['config']));
}
}
public function setLoader(LoaderInterface $loader)