1 | <?php |
||
20 | final class AsyncClient implements AsyncClientInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var FoundationClientInterface |
||
24 | */ |
||
25 | private $client; |
||
26 | |||
27 | /** |
||
28 | * @param FoundationClientInterface $client |
||
29 | */ |
||
30 | private function __construct(FoundationClientInterface $client) |
||
34 | |||
35 | /** |
||
36 | * Create a new AsyncClient based on the loop and other options pass. |
||
37 | * |
||
38 | * @param LoopInterface $loop |
||
39 | * @param string $baseUrl |
||
40 | * @param string $username |
||
41 | * @param string $password |
||
42 | * @param array $options |
||
43 | * @return AsyncClient |
||
44 | */ |
||
45 | public static function create( |
||
57 | |||
58 | /** |
||
59 | * Create an AsyncClient from a ApiClients\Foundation\ClientInterface. |
||
60 | * Be sure to pass in a client with the options from ApiSettings and the Async namespace suffix. |
||
61 | * |
||
62 | * @param FoundationClientInterface $client |
||
63 | * @return AsyncClient |
||
64 | */ |
||
65 | public static function createFromClient(FoundationClientInterface $client): self |
||
69 | |||
70 | /** |
||
71 | * @return PromiseInterface |
||
72 | */ |
||
73 | public function overview(): PromiseInterface |
||
83 | |||
84 | /** |
||
85 | * @param int|null $interval |
||
86 | * @return ObservableInterface |
||
87 | */ |
||
88 | public function queues(int $interval = null): ObservableInterface |
||
108 | |||
109 | /** |
||
110 | * @return ObservableInterface |
||
111 | */ |
||
112 | public function connections(): ObservableInterface |
||
124 | } |
||
125 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.