1 | <?php |
||
7 | class HttpClientWrapper implements HttpClientInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var object |
||
11 | */ |
||
12 | private $wrappedClient; |
||
13 | |||
14 | public function __construct($client) |
||
18 | |||
19 | /** |
||
20 | * @return object |
||
21 | */ |
||
22 | public function getWrappedClient() |
||
26 | |||
27 | /** |
||
28 | * @inheritdoc |
||
29 | */ |
||
30 | public function send($request) |
||
36 | |||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | public function request($method, $uri = null, array $options = []) |
||
46 | |||
47 | private function wrapResponse($response) |
||
58 | } |
||
59 | |||
60 |