Renamed Composer\Install to Composer\Installer
parent
b4dd86c247
commit
8a7d31706d
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Composer\Command;
|
||||
|
||||
use Composer\Install;
|
||||
use Composer\Installer;
|
||||
use Composer\Script\EventDispatcher;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
@ -53,7 +53,7 @@ EOT
|
|||
$composer = $this->getComposer();
|
||||
$io = $this->getApplication()->getIO();
|
||||
$eventDispatcher = new EventDispatcher($composer, $io);
|
||||
$install = Install::create($io, $composer, $eventDispatcher);
|
||||
$install = Installer::create($io, $composer, $eventDispatcher);
|
||||
|
||||
return $install->run(
|
||||
(Boolean)$input->getOption('prefer-source'),
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Composer\Command;
|
||||
|
||||
use Composer\Install;
|
||||
use Composer\Installer;
|
||||
use Composer\Script\EventDispatcher;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
@ -51,7 +51,7 @@ EOT
|
|||
$composer = $this->getComposer();
|
||||
$io = $this->getApplication()->getIO();
|
||||
$eventDispatcher = new EventDispatcher($composer, $io);
|
||||
$install = Install::create($io, $composer, $eventDispatcher);
|
||||
$install = Installer::create($io, $composer, $eventDispatcher);
|
||||
|
||||
return $install->run(
|
||||
(Boolean)$input->getOption('prefer-source'),
|
||||
|
|
|
@ -33,7 +33,7 @@ use Composer\Repository\RepositoryManager;
|
|||
use Composer\Script\EventDispatcher;
|
||||
use Composer\Script\ScriptEvents;
|
||||
|
||||
class Install
|
||||
class Installer
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@ -315,12 +315,12 @@ class Install
|
|||
}
|
||||
|
||||
/**
|
||||
* Create Install
|
||||
* Create Installer
|
||||
*
|
||||
* @param IOInterface $io
|
||||
* @param Composer $composer
|
||||
* @param EventDispatcher $eventDispatcher
|
||||
* @return Install
|
||||
* @return Installer
|
||||
*/
|
||||
static public function create(IOInterface $io, Composer $composer, EventDispatcher $eventDispatcher)
|
||||
{
|
Loading…
Reference in New Issue