| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class NotFoundHandler implements RequestHandlerInterface |
||
| 15 | { |
||
| 16 | private DataResponseFormatterInterface $formatter; |
||
| 17 | private DataResponseFactoryInterface $dataResponseFactory; |
||
| 18 | |||
| 19 | 11 | public function __construct(DataResponseFormatterInterface $formatter, DataResponseFactoryInterface $dataResponseFactory) |
|
| 20 | { |
||
| 21 | 11 | $this->formatter = $formatter; |
|
| 22 | 11 | $this->dataResponseFactory = $dataResponseFactory; |
|
| 23 | 11 | } |
|
| 24 | |||
| 25 | 1 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 29 | ); |
||
| 30 | } |
||
| 32 |