| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | 3 | final public function __invoke(ServerRequestInterface &$request, ResponseInterface $response) |
|
| 50 | { |
||
| 51 | 3 | $this->request = $request; |
|
| 52 | 3 | $this->response = $response; |
|
| 53 | |||
| 54 | 3 | $request = $this->request |
|
| 55 | 3 | ->withAttribute(ServerRequestInterface::REQUEST_ATTR_DISPATCH_TEMPLATE, $this->getTemplateName()) |
|
| 56 | 3 | ->withAttribute(ServerRequestInterface::REQUEST_ATTR_DISPATCH_DATA, $this->getTemplateData()); |
|
| 57 | |||
| 58 | 2 | return $this->response; |
|
| 59 | } |
||
| 60 | } |
||
| 61 |