Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 72.72% |
Changes | 0 |
1 | <?php |
||
11 | class DefaultController |
||
12 | { |
||
13 | /** |
||
14 | * @var Templater |
||
15 | */ |
||
16 | private $templater; |
||
17 | |||
18 | 3 | public function __construct() |
|
19 | { |
||
20 | 3 | $this->templater = new Templater(); |
|
21 | 3 | } |
|
22 | |||
23 | 3 | public function notFoundAction() |
|
26 | } |
||
27 | |||
28 | public function render($template, array $params): ResponseInterface |
||
33 | } |
||
34 | |||
35 | 3 | public function returnResponse($body = '', $statusCode = 200): ResponseInterface |
|
45 |