1
0
Fork 0

Default installers are available in the factory for a plugin manager

pull/2254/head
Martin Hasoň 2013-09-11 11:29:51 +02:00
parent 20a18dcb60
commit af53ab94ad
1 changed files with 3 additions and 3 deletions

View File

@ -253,13 +253,13 @@ class Factory
$generator = new AutoloadGenerator($dispatcher); $generator = new AutoloadGenerator($dispatcher);
$composer->setAutoloadGenerator($generator); $composer->setAutoloadGenerator($generator);
// add installers to the manager
$this->createDefaultInstallers($im, $composer, $io);
$globalRepository = $this->createGlobalRepository($config, $vendorDir); $globalRepository = $this->createGlobalRepository($config, $vendorDir);
$pm = $this->createPluginManager($composer, $io, $globalRepository); $pm = $this->createPluginManager($composer, $io, $globalRepository);
$composer->setPluginManager($pm); $composer->setPluginManager($pm);
// add installers to the manager
$this->createDefaultInstallers($im, $composer, $io);
if (!$disablePlugins) { if (!$disablePlugins) {
$pm->loadInstalledPlugins(); $pm->loadInstalledPlugins();
} }