| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function __invoke(Request $request, Response $response, callable $next = null): HtmlResponse |
||
| 49 | { |
||
| 50 | $page = $this->pageService->getHomepage(); |
||
| 51 | |||
| 52 | return new HtmlResponse($this->template->render('web::home', [ |
||
| 53 | 'page' => $page, |
||
| 54 | 'layout' => 'layout/web', |
||
| 55 | ])); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |