1 | <?php |
||
21 | abstract class AbstractResponse { |
||
22 | |||
23 | /** |
||
24 | * Rate limit remaining. |
||
25 | * |
||
26 | * @var int |
||
27 | */ |
||
28 | private $rateLimitRemaining; |
||
29 | |||
30 | /** |
||
31 | * Raw response. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $rawResponse; |
||
36 | |||
37 | /** |
||
38 | * Constructor. |
||
39 | */ |
||
40 | public function __construct() { |
||
43 | |||
44 | /** |
||
45 | * Get the rate limit remaining. |
||
46 | * |
||
47 | * @return int Returns the rate limit remaining. |
||
48 | */ |
||
49 | public function getRateLimitRemaining() { |
||
52 | |||
53 | /** |
||
54 | * Get the raw response. |
||
55 | * |
||
56 | * @return string Returns the raw response. |
||
57 | */ |
||
58 | public function getRawResponse() { |
||
61 | |||
62 | /** |
||
63 | * Set the rate limit remaining. |
||
64 | * |
||
65 | * @param int $rateLimitRemaining The rate limit remaining. |
||
66 | * @return AbstractResponse Returns this response. |
||
67 | */ |
||
68 | public function setRateLimitRemaining($rateLimitRemaining) { |
||
72 | |||
73 | /** |
||
74 | * Set the raw response. |
||
75 | * |
||
76 | * @param string $rawResponse The raw response. |
||
77 | * @return AbstractResponse Returns this response. |
||
78 | */ |
||
79 | public function setRawResponse($rawResponse) { |
||
83 | } |
||
84 |