| Total Complexity | 3 | 
| Total Lines | 32 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 5 | abstract class AbstractController | ||
| 6 | { | ||
| 7 | protected $config; | ||
| 8 | protected $terminal; | ||
| 9 | protected $filesystem; | ||
| 10 | |||
| 11 | function __construct( | ||
| 20 | } | ||
| 21 | |||
| 22 | /** | ||
| 23 | * Returns array of methods that can be requested | ||
| 24 | */ | ||
| 25 | abstract public static function getAllowedMethods(): array; | ||
| 26 | |||
| 27 | /** | ||
| 28 | * Get method name from terminal arguments | ||
| 29 | * | ||
| 30 | * @return string | ||
| 31 | */ | ||
| 32 | protected function getMethodName(): string | ||
| 39 |