Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 14 | public function __construct(ResponseInterface $response) |
|
17 | { |
||
18 | 14 | $this->_headers = $response->getHeaders(); |
|
19 | 14 | $this->_body = (string) $response->getBody(); |
|
20 | 14 | $this->_protocol = $response->getProtocolVersion(); |
|
21 | 14 | $this->_statusCode = $response->getStatusCode(); |
|
22 | 14 | $this->_reason = $response->getReasonPhrase(); |
|
23 | 14 | } |
|
36 |