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