Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Controller implements iController |
||
14 | { |
||
15 | use DebugMeasure; |
||
16 | |||
17 | /** @var string */ |
||
18 | public $lang = 'en'; |
||
19 | |||
20 | /** @var \Ffcms\Core\Network\Request */ |
||
21 | public $request; |
||
22 | /** @var \Ffcms\Core\Network\Response */ |
||
23 | public $response; |
||
24 | /** @var View */ |
||
25 | public $view; |
||
26 | |||
27 | /** |
||
28 | * Controller constructor. Set controller access data - request, response, view |
||
29 | */ |
||
30 | public function __construct() |
||
41 | } |
||
42 | |||
43 | /** Before action call method */ |
||
44 | public function before() |
||
45 | { |
||
46 | } |
||
47 | |||
48 | /** Global bootable method */ |
||
49 | public static function boot(): void |
||
50 | { |
||
51 | } |
||
52 | |||
53 | /** After action called method */ |
||
54 | public function after() |
||
56 | } |
||
57 | } |
||
58 |