1 | <?php namespace Stevenmaguire\Uber; |
||
3 | class RateLimit |
||
4 | { |
||
5 | use GetSetTrait; |
||
6 | |||
7 | /** |
||
8 | * Rate limit upper limit |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | private $limit; |
||
13 | |||
14 | /** |
||
15 | * Rate limit remaining |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | private $remaining; |
||
20 | |||
21 | /** |
||
22 | * Rate limit reset timestamp |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | private $reset; |
||
27 | |||
28 | /** |
||
29 | * Create new RateLimit |
||
30 | * |
||
31 | * @param string $limit |
||
32 | * @param string $remaining |
||
33 | * @param string $reset |
||
34 | */ |
||
35 | 40 | public function __construct($limit, $remaining, $reset) |
|
41 | } |
||
42 |