| 1 | <?php |
||
| 14 | class HttpGuzzleResponse implements HttpClientResponseInterface |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var ResponseInterface |
||
| 19 | */ |
||
| 20 | private $guzzleResponse; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param ResponseInterface $guzzleResponse |
||
| 24 | */ |
||
| 25 | 10 | public function __construct( |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | 1 | public function getStatusCode() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 3 | public function getBody() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | 2 | public function json() |
|
| 54 | } |
||
| 55 |