Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class NetworkException extends RuntimeException implements ClientExceptionInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var RequestInterface |
||
21 | */ |
||
22 | private $request; |
||
23 | |||
24 | public static function with(RequestInterface $request, Throwable $previousException = null): self |
||
33 | } |
||
34 | |||
35 | public function getRequest(): RequestInterface |
||
40 |