| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function __construct($message, ResponseInterface $response = null, $formattedResponse = null, $code = null) |
||
| 42 | { |
||
| 43 | parent::__construct($message, $code); |
||
| 44 | |||
| 45 | $this->response = $response; |
||
| 46 | $this->formattedResponse = $formattedResponse; |
||
| 47 | |||
| 48 | if ($response) { |
||
| 49 | $response->getBody()->rewind(); |
||
| 50 | } |
||
| 53 |