| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class InfoController extends Controller |
||
| 24 | { |
||
| 25 | const MENU = 'admin|info'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Returns the module name for use in url function |
||
| 29 | * |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public static function getModuleName(): string |
||
| 33 | { |
||
| 34 | return 'Admin'; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Returns the controller name for use in url function |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public static function getControllerName(): string |
||
| 43 | { |
||
| 44 | return 'Info'; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function doIndex(): bool |
||
| 51 | } |
||
| 52 | } |
||
| 53 |