1 | <?php |
||
15 | class Client extends GuzzleClient |
||
16 | { |
||
17 | /** |
||
18 | * @var Config |
||
19 | */ |
||
20 | protected $config; |
||
21 | |||
22 | /** |
||
23 | * Client constructor. |
||
24 | * @param array $config |
||
25 | */ |
||
26 | public function __construct($config = []) |
||
40 | 3 | ||
41 | 3 | /** |
|
42 | * @param Config $config |
||
43 | 6 | */ |
|
44 | protected function attachErrorSubscriber(Config $config) |
||
48 | 3 | ||
49 | 3 | /** |
|
50 | 3 | * @param Config $config |
|
51 | 3 | */ |
|
52 | 3 | protected function attachLogSubscriber(Config $config) |
|
59 | 1 | ||
60 | /** |
||
61 | * @return Config |
||
62 | */ |
||
63 | public function getConfig() |
||
67 | 1 | ||
68 | 1 | /** |
|
69 | 1 | * @param array $config |
|
70 | */ |
||
71 | 1 | public function changeAuthOptions(array $config) |
|
87 | |||
88 | 2 | /** |
|
89 | * @param string $prefix |
||
90 | 2 | * @throws FailedAuthException |
|
91 | 1 | */ |
|
92 | 1 | public function connectionTest($prefix = '/') |
|
100 | } |
||
101 |