Example #1
0
 /**
  * Gets the default commands that should always be available.
  *
  * @return Command[] An array of default Command instances
  */
 protected function getDefaultCommands()
 {
     $commands = parent::getDefaultCommands();
     $commands[] = new LogCommand();
     foreach ($this->config->getJobConfiguration() as $name => $configuration) {
         $commands[] = new JobCommand($name, $this->config);
     }
     return $commands;
 }