1 | <?php declare(strict_types=1); |
||
15 | class Client |
||
16 | { |
||
17 | /** |
||
18 | * @var LoopInterface |
||
19 | */ |
||
20 | private $loop; |
||
21 | |||
22 | /** |
||
23 | * @var AsyncClient |
||
24 | */ |
||
25 | private $client; |
||
26 | |||
27 | /** |
||
28 | * @param string $token |
||
29 | * @param array $options |
||
30 | * @return Client |
||
31 | */ |
||
32 | public static function create( |
||
51 | |||
52 | /** |
||
53 | * @param LoopInterface $loop |
||
54 | * @param AsyncClient $client |
||
55 | */ |
||
56 | private function __construct(LoopInterface $loop, AsyncClient $client) |
||
61 | |||
62 | public function projects(): array |
||
71 | |||
72 | public function project(string $repository): Project |
||
79 | } |
||
80 |