| 1 | <?php |
||
| 19 | class GeneralController extends AbstractController |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * The template base path |
||
| 23 | */ |
||
| 24 | const TEMPLATE_BASE = parent::TEMPLATE_BASE . '/general'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The index view template path |
||
| 28 | */ |
||
| 29 | const TEMPLATE_INDEX = self::TEMPLATE_BASE . '/index'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return Response |
||
| 33 | * @throws \yii\base\InvalidConfigException |
||
| 34 | */ |
||
| 35 | public function actionIndex(): Response |
||
| 50 | |||
| 51 | /******************************************* |
||
| 52 | * BASE PATHS |
||
| 53 | *******************************************/ |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | protected function getBaseActionPath(): string |
||
| 62 | } |
||
| 63 |