| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class Router implements MiddlewareInterface |
||
| 13 | { |
||
| 14 | private UrlMatcherInterface $matcher; |
||
| 15 | private ResponseFactoryInterface $responseFactory; |
||
| 16 | |||
| 17 | public function __construct(UrlMatcherInterface $matcher, ResponseFactoryInterface $responseFactory) |
||
| 18 | { |
||
| 19 | $this->matcher = $matcher; |
||
| 20 | $this->responseFactory = $responseFactory; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 41 | } |
||
| 42 | } |
||
| 43 |