Renamed Composer\Install to Composer\Installer

main
Beau Simensen 12 years ago
parent b4dd86c247
commit 8a7d31706d

@ -12,7 +12,7 @@
namespace Composer\Command; namespace Composer\Command;
use Composer\Install; use Composer\Installer;
use Composer\Script\EventDispatcher; use Composer\Script\EventDispatcher;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;
@ -53,7 +53,7 @@ EOT
$composer = $this->getComposer(); $composer = $this->getComposer();
$io = $this->getApplication()->getIO(); $io = $this->getApplication()->getIO();
$eventDispatcher = new EventDispatcher($composer, $io); $eventDispatcher = new EventDispatcher($composer, $io);
$install = Install::create($io, $composer, $eventDispatcher); $install = Installer::create($io, $composer, $eventDispatcher);
return $install->run( return $install->run(
(Boolean)$input->getOption('prefer-source'), (Boolean)$input->getOption('prefer-source'),

@ -12,7 +12,7 @@
namespace Composer\Command; namespace Composer\Command;
use Composer\Install; use Composer\Installer;
use Composer\Script\EventDispatcher; use Composer\Script\EventDispatcher;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;
@ -51,7 +51,7 @@ EOT
$composer = $this->getComposer(); $composer = $this->getComposer();
$io = $this->getApplication()->getIO(); $io = $this->getApplication()->getIO();
$eventDispatcher = new EventDispatcher($composer, $io); $eventDispatcher = new EventDispatcher($composer, $io);
$install = Install::create($io, $composer, $eventDispatcher); $install = Installer::create($io, $composer, $eventDispatcher);
return $install->run( return $install->run(
(Boolean)$input->getOption('prefer-source'), (Boolean)$input->getOption('prefer-source'),

@ -33,7 +33,7 @@ use Composer\Repository\RepositoryManager;
use Composer\Script\EventDispatcher; use Composer\Script\EventDispatcher;
use Composer\Script\ScriptEvents; use Composer\Script\ScriptEvents;
class Install class Installer
{ {
/** /**
* *
@ -315,12 +315,12 @@ class Install
} }
/** /**
* Create Install * Create Installer
* *
* @param IOInterface $io * @param IOInterface $io
* @param Composer $composer * @param Composer $composer
* @param EventDispatcher $eventDispatcher * @param EventDispatcher $eventDispatcher
* @return Install * @return Installer
*/ */
static public function create(IOInterface $io, Composer $composer, EventDispatcher $eventDispatcher) static public function create(IOInterface $io, Composer $composer, EventDispatcher $eventDispatcher)
{ {
Loading…
Cancel
Save