| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class ContactController |
||
| 17 | { |
||
| 18 | private ViewRenderer $viewRenderer; |
||
| 19 | private ResponseFactoryInterface $responseFactory; |
||
| 20 | |||
| 21 | 6 | public function __construct(ViewRenderer $viewRenderer, ResponseFactoryInterface $responseFactory) |
|
| 22 | { |
||
| 23 | 6 | $this->viewRenderer = $viewRenderer->withControllerName('contact'); |
|
| 24 | 6 | $this->responseFactory = $responseFactory; |
|
| 25 | 6 | } |
|
| 26 | |||
| 27 | 6 | public function contact( |
|
| 61 | ] |
||
| 62 | ); |
||
| 65 |