/** * Configure the command options. */ protected function configure() { $command = new ConsoleCommand(); $command->name($this->commandName)->description($this->commandDescription); if ($this->argument != null) { $command->argument(['name' => $this->argument, 'description' => $this->argumentDescription, 'type' => $this->argumentType]); } $this->configureCommand($command); }