1 | <?php |
||
16 | class GuzzleAdapter implements HttpClientInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var GuzzleClientInterface |
||
20 | */ |
||
21 | protected $client; |
||
22 | |||
23 | /** |
||
24 | * GuzzleAdapter constructor. |
||
25 | * |
||
26 | * @param GuzzleClientInterface $client |
||
27 | */ |
||
28 | 1 | public function __construct(GuzzleClientInterface $client) |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 1 | public function request(RequestInterface $request): ResponseInterface |
|
40 | } |