Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class ClientFactory implements Factory |
||
16 | { |
||
17 | use Configurable; |
||
18 | |||
19 | /** |
||
20 | * Default config for Guzzle client. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | private static $default_config = []; |
||
|
|||
25 | |||
26 | /** |
||
27 | * Wrapper to create a Guzzle client. |
||
28 | * |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function create($service, array $params = []) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Merge config provided from yaml with default config |
||
38 | * |
||
39 | * @param array $overrides |
||
40 | * @return array |
||
41 | */ |
||
42 | public function getConfig(array $overrides) |
||
50 |