| 1 | <?php |
||
| 9 | class TldrApplication extends Application |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Gets the name of the command based on input. |
||
| 13 | * |
||
| 14 | * @param InputInterface $input The input interface |
||
| 15 | * |
||
| 16 | * @return string The command name |
||
| 17 | */ |
||
| 18 | protected function getCommandName(InputInterface $input) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Gets the default commands that should always be available. |
||
| 26 | * |
||
| 27 | * @return array An array of default Command instances |
||
| 28 | */ |
||
| 29 | protected function getDefaultCommands() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Overridden so that the application doesn't expect the command |
||
| 40 | * name to be the first argument. |
||
| 41 | */ |
||
| 42 | public function getDefinition() |
||
| 50 | } |
||
| 51 |