Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class GuzzleClientException extends HttpException |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $exceptionContents; |
||
15 | |||
16 | public function __construct($code, $message = null, $contents = '') |
||
17 | { |
||
18 | parent::__construct($code, $message); |
||
19 | |||
20 | $this->exceptionContents = $contents; |
||
21 | } |
||
22 | |||
23 | public function getExceptionContents(): string |
||
26 | } |
||
27 | |||
28 | public function setExceptionContents(string $exceptionContents): GuzzleClientException |
||
32 | } |
||
33 | } |
||
34 |