| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next = null) |
||
| 24 | { |
||
| 25 | $entry = ($this->getEntryParser())($request->getAttribute('id')); |
||
| 26 | return new HtmlResponse($this->getTemplateRenderer()->render($entry->getTemplate(), ['entry' => $entry])); |
||
| 27 | } |
||
| 28 | } |