Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class RequestException extends RuntimeException |
||
10 | { |
||
11 | /** |
||
12 | * @var ServerRequestInterface |
||
13 | */ |
||
14 | private $request; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $context; |
||
20 | |||
21 | public function __construct(ServerRequestInterface $request, array $context = []) |
||
22 | { |
||
23 | parent::__construct(); |
||
24 | $this->request = $request; |
||
25 | $this->context = $context; |
||
26 | } |
||
27 | |||
28 | public function getRequest(): ServerRequestInterface |
||
31 | } |
||
32 | |||
33 | public function getContext(): array |
||
36 | } |
||
37 | } |
||
38 |