Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
31 | 14 | public function __construct(ResponseInterface $response) |
|
32 | { |
||
33 | 14 | $this->_headers = $response->getHeaders(); |
|
34 | 14 | $this->_body = (string) $response->getBody(); |
|
35 | 14 | $this->_protocol = $response->getProtocolVersion(); |
|
36 | 14 | $this->_statusCode = $response->getStatusCode(); |
|
37 | 14 | $this->_reason = $response->getReasonPhrase(); |
|
38 | 14 | } |
|
54 |