Ejemplo n.º 1
0
 /**
  * Gets the default commands that should always be available.
  *
  * @return Command[] An array of default Command instances
  */
 protected function getDefaultCommands()
 {
     $list = new ListCommand();
     $list->setName('helpList');
     $this->setDefaultCommand('helpList');
     return [new HelpCommand(), $list];
 }