Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ServiceUnavailableException extends \RuntimeException |
||
11 | { |
||
12 | /** |
||
13 | * @var RequestInterface |
||
14 | */ |
||
15 | protected $request; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | protected $statusCode; |
||
21 | |||
22 | /** |
||
23 | * ServiceUnavailableException constructor. |
||
24 | * |
||
25 | * @param RequestInterface $request |
||
26 | * @param string $message |
||
27 | * @param int $statusCode |
||
28 | */ |
||
29 | public function __construct( |
||
37 | } |
||
38 | |||
39 | public function getRequest(): RequestInterface |
||
42 | } |
||
43 | |||
44 | public function getStatusCode(): int |
||
49 |