| 1 | <?php |
||
| 12 | final class RoutingHandler implements RoutingHandlerInterface |
||
| 13 | { |
||
| 14 | /** @var RouterInterface */ |
||
| 15 | private $router; |
||
| 16 | |||
| 17 | /** @var RoutingErrorResponderInterface */ |
||
| 18 | private $errorResponder; |
||
| 19 | |||
| 20 | 2 | public function __construct(RouterInterface $router, RoutingErrorResponderInterface $errorResponder) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritDoc |
||
| 28 | */ |
||
| 29 | 2 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 43 | } |
||
| 44 |