| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class ResponseException extends RuntimeException |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var ResponseInterface |
||
| 29 | */ |
||
| 30 | protected $response; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ResponseInterface $response |
||
| 34 | * @param string $message |
||
| 35 | * @param Exception|null $previous |
||
| 36 | */ |
||
| 37 | 8 | public function __construct(ResponseInterface $response, $message = '', Exception $previous = null) |
|
| 45 | 8 | } |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return ResponseInterface |
||
| 49 | */ |
||
| 50 | 1 | public function getResponse() |
|
| 55 |