1 | <?php |
||
20 | class Application extends BaseApplication |
||
21 | { |
||
22 | const NAME = 'phplint'; |
||
23 | |||
24 | const VERSION = '2.0.2'; |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | */ |
||
29 | public function __construct() |
||
33 | |||
34 | /** |
||
35 | * Overridden so that the application doesn't expect the command |
||
36 | * name to be the first argument. |
||
37 | */ |
||
38 | public function getDefinition() |
||
46 | |||
47 | /** |
||
48 | * Gets the name of the command based on input. |
||
49 | * |
||
50 | * @param InputInterface $input The input interface |
||
51 | * |
||
52 | * @return string The command name |
||
53 | */ |
||
54 | protected function getCommandName(InputInterface $input) |
||
58 | } |
||
59 |