1 | <?php |
||
10 | final class RoutingFailure implements RoutingResultInterface |
||
11 | { |
||
12 | /** @var RoutingErrorInterface|null */ |
||
13 | private $error; |
||
14 | |||
15 | 3 | public function __construct(RoutingErrorInterface $error = null) |
|
19 | |||
20 | 3 | public function isSuccess(): bool |
|
24 | |||
25 | 2 | public function getMatchedHandler(): ?RequestHandlerInterface |
|
29 | |||
30 | 2 | public function getMatchedParams(): array |
|
34 | |||
35 | 3 | public function getError(): ?RoutingErrorInterface |
|
39 | } |
||
40 |