Total Complexity | 4 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | final class ExceptionMiddleware implements MiddlewareInterface |
||
18 | { |
||
19 | public function __construct( |
||
20 | private DataResponseFactoryInterface $dataResponseFactory, |
||
21 | private HttpExceptionMapper $httpExceptionMapper, |
||
22 | ) { |
||
23 | } |
||
24 | |||
25 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
35 | } |
||
36 | } |
||
38 |