1 | <?php |
||
9 | final class RoutingHandler implements RoutingHandlerInterface |
||
10 | { |
||
11 | /** @var RouterInterface */ |
||
12 | private $router; |
||
13 | |||
14 | /** @var RoutingErrorResponderInterface */ |
||
15 | private $errorResponder; |
||
16 | |||
17 | 2 | public function __construct(RouterInterface $router, RoutingErrorResponderInterface $errorResponder) |
|
22 | |||
23 | /** |
||
24 | * @inheritDoc |
||
25 | */ |
||
26 | 2 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
40 | } |
||
41 |