1
0
Fork 0

Making several tweaks per @stof

pull/12/merge^2
Ryan Weaver 2011-09-14 10:34:53 -05:00
parent 80d606fb36
commit cf11b48306
2 changed files with 10 additions and 2 deletions

View File

@ -24,7 +24,7 @@ abstract class Command extends BaseCommand
/**
* @return \Composer\Composer
*/
public function getComposer()
protected function getComposer()
{
return $this->getApplication()->getComposer();
}

View File

@ -19,7 +19,6 @@ use Composer\DependencyResolver\Solver;
use Composer\Repository\PlatformRepository;
use Composer\Package\MemoryPackage;
use Composer\Package\LinkConstraint\VersionConstraint;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@ -35,6 +34,15 @@ class InstallCommand extends Command
$this
->setName('install')
->setDescription('Parses the composer.json file and downloads the needed dependencies.')
->setHelp(<<<EOT
The <info>install</info> command reads the composer.json file from the
current directory, processes it, and downloads and installs all the
libraries and dependencies outlined in that file.
<info>php composer install</info>
EOT
)
;
}