1
0
Fork 0

Renamed Composer\Install to Composer\Installer

pull/379/head
Beau Simensen 2012-03-06 15:30:18 -08:00
parent b4dd86c247
commit 8a7d31706d
3 changed files with 7 additions and 7 deletions

View File

@ -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'),

View File

@ -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'),

View File

@ -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)
{ {