Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class IndexController extends AppController |
||
14 | { |
||
15 | /** |
||
16 | * IndexController constructor. |
||
17 | * |
||
18 | * @param Container $container |
||
19 | * |
||
20 | * @throws \Interop\Container\Exception\ContainerException |
||
21 | */ |
||
22 | 2 | public function __construct(Container $container) |
|
23 | { |
||
24 | 2 | parent::__construct($container); |
|
25 | 2 | } |
|
26 | |||
27 | /** |
||
28 | * Index method. |
||
29 | * |
||
30 | * @param Request $request |
||
31 | * @param Response $response |
||
32 | * |
||
33 | * @throws \Psr\Container\ContainerExceptionInterface |
||
34 | * @throws \Psr\Container\NotFoundExceptionInterface |
||
35 | * |
||
36 | * @return ResponseInterface |
||
37 | */ |
||
38 | 2 | public function indexAction(Request $request, Response $response): ResponseInterface |
|
41 | } |
||
42 | } |
||
43 |