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