Default installers are available in the factory for a plugin manager
parent
20a18dcb60
commit
af53ab94ad
|
@ -253,13 +253,13 @@ class Factory
|
|||
$generator = new AutoloadGenerator($dispatcher);
|
||||
$composer->setAutoloadGenerator($generator);
|
||||
|
||||
// add installers to the manager
|
||||
$this->createDefaultInstallers($im, $composer, $io);
|
||||
|
||||
$globalRepository = $this->createGlobalRepository($config, $vendorDir);
|
||||
$pm = $this->createPluginManager($composer, $io, $globalRepository);
|
||||
$composer->setPluginManager($pm);
|
||||
|
||||
// add installers to the manager
|
||||
$this->createDefaultInstallers($im, $composer, $io);
|
||||
|
||||
if (!$disablePlugins) {
|
||||
$pm->loadInstalledPlugins();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue