Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
23 | class RouteNotFoundException extends RuntimeException implements HttpExceptionInterface |
||
24 | { |
||
25 | |||
26 | /** |
||
27 | * Server Request instance |
||
28 | * |
||
29 | * @var ServerRequestInterface |
||
30 | */ |
||
31 | protected $request; |
||
32 | |||
33 | /** |
||
34 | * Constructor of the class |
||
35 | * |
||
36 | * @param ServerRequestInterface $request |
||
37 | * @param int $code |
||
38 | * @param null|Throwable $previous |
||
39 | */ |
||
40 | public function __construct(ServerRequestInterface $request, int $code = 0, Throwable $previous = null) |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * {@inheritDoc} |
||
49 | */ |
||
50 | public function getRequest() : ServerRequestInterface |
||
55 |