1 | <?php |
||
18 | class ApiResponse |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * The response from Guzzle |
||
23 | * |
||
24 | * @var GuzzleResponse |
||
25 | */ |
||
26 | private $response; |
||
27 | public function getHeaders() { |
||
30 | 4 | ||
31 | public function getData() |
||
39 | |||
40 | /** |
||
41 | * Construct ApiResponse with GuzzleResponse |
||
42 | 4 | * |
|
43 | * @param GuzzleResponse $response |
||
44 | 4 | */ |
|
45 | 4 | public function __construct(GuzzleResponse $response) |
|
49 | } |
||
50 |