| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Exception extends BaseException |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Response body |
||
| 11 | * |
||
| 12 | * @var object |
||
| 13 | */ |
||
| 14 | protected $responseBody; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Retrieves the response body property of exception. |
||
| 18 | * |
||
| 19 | 4 | * @return object |
|
| 20 | */ |
||
| 21 | 4 | public function getResponseBody() |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Updates the response body property of exception. |
||
| 28 | * |
||
| 29 | * @param object |
||
| 30 | * |
||
| 31 | 8 | * @return Exception |
|
| 32 | */ |
||
| 33 | 8 | public function setResponseBody($responseBody) |
|
| 40 |