2 namespace Robo\Task\Composer;
10 * $this->taskComposerInstall()->run();
12 * // prefer dist with custom path
13 * $this->taskComposerInstall('path/to/my/composer.phar')
17 * // optimize autoloader with custom path
18 * $this->taskComposerInstall('path/to/my/composer.phar')
19 * ->optimizeAutoloader()
24 class Install extends Base
29 protected $action = 'install';
36 $command = $this->getCommand();
37 $this->printTaskInfo('Installing Packages: {command}', ['command' => $command]);
38 return $this->executeCommand($command);