1 | <?php |
||
11 | class ImgurResponse implements ImgurResponseInterface |
||
12 | { |
||
13 | /** |
||
14 | * Guzzle response |
||
15 | * @var ResponseInterface |
||
16 | */ |
||
17 | protected $response; |
||
18 | |||
19 | /** |
||
20 | * ImgurResponse constructor. |
||
21 | * @param ResponseInterface $response |
||
22 | */ |
||
23 | 1 | public function __construct(ResponseInterface $response) |
|
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | * @throws \Exception |
||
31 | */ |
||
32 | public function getBody() |
||
47 | |||
48 | /** |
||
49 | * @return array |
||
50 | */ |
||
51 | public function getHeaders() |
||
55 | |||
56 | /** |
||
57 | * @return mixed |
||
58 | */ |
||
59 | public function getRateLimit() |
||
63 | } |