/** * Initializes all the composer commands */ protected function getDefaultCommands() { $commands = parent::getDefaultCommands(); $commands[] = new Command\ClientCommand(); $commands[] = new Command\PackageCommand(); return $commands; }
/** * {@inheritDoc} */ protected function getDefaultCommands() { // Keep the core default commands to have the HelpCommand // which is used when using the --help option $defaultCommands = parent::getDefaultCommands(); $defaultCommands[] = new UpdateCommand(); return $defaultCommands; }