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