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:
parent
e2f8098f53
commit
93628c42d8
2 changed files with 28 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue