1 | <?php |
||
18 | class ConfiguredClientsStrategy implements DiscoveryStrategy |
||
19 | { |
||
20 | /** |
||
21 | * @var HttpClient |
||
22 | */ |
||
23 | private static $client; |
||
24 | |||
25 | /** |
||
26 | * @var HttpAsyncClient |
||
27 | */ |
||
28 | private static $asyncClient; |
||
29 | |||
30 | /** |
||
31 | * @param HttpClient $httpClient |
||
32 | * @param HttpAsyncClient $asyncClient |
||
33 | */ |
||
34 | 6 | public function __construct(HttpClient $httpClient = null, HttpAsyncClient $asyncClient = null) |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 16 | public static function getCandidates($type) |
|
60 | } |
||
61 |