1 | <?php |
||
10 | final class RoutingSuccess implements RoutingResultInterface |
||
11 | { |
||
12 | /** @var RequestHandlerInterface|null */ |
||
13 | private $matchedHandler; |
||
14 | |||
15 | /** @var array */ |
||
16 | private $matchedParams; |
||
17 | |||
18 | 3 | public function __construct(?RequestHandlerInterface $matchedHandler, array $matchedParams = []) |
|
23 | |||
24 | 3 | public function isSuccess(): bool |
|
28 | |||
29 | 3 | public function getMatchedHandler(): ?RequestHandlerInterface |
|
33 | |||
34 | 3 | public function getMatchedParams(): array |
|
38 | |||
39 | 2 | public function getError(): ?RoutingErrorInterface |
|
43 | } |
||
44 |