1 | <?php declare(strict_types=1); |
||
12 | final class Client implements ClientInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var LoopInterface |
||
16 | */ |
||
17 | private $loop; |
||
18 | |||
19 | /** |
||
20 | * @var AsyncClient |
||
21 | */ |
||
22 | private $client; |
||
23 | |||
24 | /** |
||
25 | * @param AuthenticationInterface $auth |
||
26 | * @param array $options |
||
27 | * @return Client |
||
28 | */ |
||
29 | public static function create( |
||
48 | |||
49 | /** |
||
50 | * @param LoopInterface $loop |
||
51 | * @param AsyncClient $client |
||
52 | */ |
||
53 | private function __construct(LoopInterface $loop, AsyncClient $client) |
||
58 | |||
59 | /** |
||
60 | * @param string $user |
||
61 | * @return UserInterface |
||
62 | */ |
||
63 | public function user(string $user): UserInterface |
||
70 | |||
71 | public function getRateLimitState(): RateLimitState |
||
75 | } |
||
76 |