Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | abstract class AbstractController |
||
6 | { |
||
7 | protected $config; |
||
8 | protected $terminal; |
||
9 | protected $filesystem; |
||
10 | protected $autocomplete; |
||
11 | |||
12 | /** |
||
13 | * Returns array of methods that can be requested |
||
14 | */ |
||
15 | abstract public static function getAllowedMethods(): array; |
||
16 | |||
17 | /** |
||
18 | * Get method name from terminal arguments |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | protected function getMethodName(): string |
||
29 |