Total Complexity | 1 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | class VersionCommand extends QtCommand |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * Command name |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $name = 'core:version'; |
||
34 | |||
35 | /** |
||
36 | * Command description |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $description = 'Core version'; |
||
40 | |||
41 | /** |
||
42 | * Command help text |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $help = 'Printing the current version of the framework into the terminal'; |
||
46 | |||
47 | /** |
||
48 | * Executes the command and prints greetings into the terminal |
||
49 | * @throws \Quantum\Exceptions\DiException |
||
50 | * @throws \Quantum\Exceptions\EnvException |
||
51 | * @throws \ReflectionException |
||
52 | */ |
||
53 | public function exec() |
||
67 |