Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class RequestTargetNotMatched extends RuntimeException implements RouteException |
||
17 | { |
||
18 | /** |
||
19 | * |
||
20 | */ |
||
21 | public const EQUIVALENT_STATUS_CODE = 404; |
||
22 | |||
23 | /** |
||
24 | * @var string [$failedRequestTarget description] |
||
25 | */ |
||
26 | private $failedRequestTarget; |
||
27 | |||
28 | /** |
||
29 | * [__construct description] |
||
30 | * |
||
31 | * @param string $failedRequestTarget [description] |
||
32 | */ |
||
33 | public function __construct(string $failedRequestTarget) |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * [getFailedRequestTarget description] |
||
42 | * |
||
43 | * @return string [description] |
||
44 | */ |
||
45 | public function getFailedRequestTarget(): string |
||
46 | { |
||
47 | return $this->failedRequestTarget; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * [generateMessage description] |
||
52 | * |
||
53 | * @return string [description] |
||
54 | */ |
||
55 | private function generateMessage(): string |
||
58 | } |
||
59 | } |
||
60 |