Total Complexity | 2 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class HomeController implements ContainerInjectableInterface |
||
17 | { |
||
18 | use ContainerInjectableTrait; |
||
19 | |||
20 | |||
21 | |||
22 | /** |
||
23 | * @var $data description |
||
|
|||
24 | */ |
||
25 | private $currentUser; |
||
26 | private $db; |
||
27 | |||
28 | |||
29 | |||
30 | // /** |
||
31 | // * The initialize method is optional and will always be called before the |
||
32 | // * target method/action. This is a convienient method where you could |
||
33 | // * setup internal properties that are commonly used by several methods. |
||
34 | // * |
||
35 | // * @return void |
||
36 | // */ |
||
37 | public function initialize() : void |
||
42 | } |
||
43 | |||
44 | |||
45 | |||
46 | /** |
||
47 | * Show all items. |
||
48 | * |
||
49 | * @return object as a response object |
||
50 | */ |
||
51 | public function indexActionGet() : object |
||
75 |