1
0
Fork 0

attach IO to DownloadManager in "package" command

pull/2153/head
Renan de Lima 2013-07-22 10:43:36 -03:00
parent 8e8e9d3719
commit d17935acd2
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ EOT
{ {
$config = Factory::createConfig(); $config = Factory::createConfig();
$factory = new Factory; $factory = new Factory;
$archiveManager = $factory->createArchiveManager($config); $downloadManager = $factory->createDownloadManager($this->getIO(), $config);
$archiveManager = $factory->createArchiveManager($config, $downloadManager);
if ($packageName) { if ($packageName) {
$package = $this->selectPackage($io, $packageName, $version); $package = $this->selectPackage($io, $packageName, $version);