| 1 | <?php declare(strict_types=1); |
||
| 14 | final class AsyncClient |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ClientInterface |
||
| 18 | */ |
||
| 19 | private $client; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param LoopInterface $loop |
||
| 23 | * @param string $token |
||
| 24 | * @param array $options |
||
| 25 | * @return AsyncClient |
||
| 26 | */ |
||
| 27 | public static function create( |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param ClientInterface $client |
||
| 39 | */ |
||
| 40 | private function __construct(ClientInterface $client) |
||
| 44 | |||
| 45 | public function conditions(string $location): PromiseInterface |
||
| 49 | |||
| 50 | public function astronomy(string $location): PromiseInterface |
||
| 54 | } |
||
| 55 |