Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function newClient(array $config) : Client |
||
25 | { |
||
26 | $clientFactory = new ReactAwareGuzzleClientFactory(function(CurlMultiHandler $handler) { |
||
27 | return $this->createHandlerStack($handler); |
||
28 | }); |
||
29 | |||
30 | return $clientFactory->createGuzzleClient($this->eventLoop, $config, null, $this->logger); |
||
31 | } |
||
32 | |||
49 | } |