| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | 8 | protected function render(string $view, array $parameters = []): ResponseInterface |
|
| 32 | { |
||
| 33 | 8 | $content = $this->webView->render( |
|
| 34 | 8 | '//main', |
|
| 35 | 8 | array_merge( |
|
| 36 | [ |
||
| 37 | 8 | 'content' => $this->webView->render($view, $parameters, $this) |
|
| 38 | ], |
||
| 39 | 8 | $parameters |
|
| 40 | ), |
||
| 41 | $this |
||
| 42 | ); |
||
| 43 | |||
| 44 | 8 | return $this->responseFactory->createResponse($content); |
|
| 45 | } |
||
| 49 |