1 | <?php |
||
9 | trait ClientAdapterAware |
||
10 | { |
||
11 | use EventingAware; |
||
12 | |||
13 | /** |
||
14 | * @var ClientAdapterInterface |
||
15 | */ |
||
16 | private $clientAdapter; |
||
17 | |||
18 | /** |
||
19 | * @param string $method |
||
20 | * @param string $uri |
||
21 | * @param array $options |
||
22 | * @return ResponseInterface |
||
23 | * @throws InvalidResponseException |
||
24 | */ |
||
25 | 4 | public function request($method, $uri = null, array $options = []) |
|
36 | |||
37 | /** |
||
38 | * @param ClientAdapterInterface $clientAdapter |
||
39 | */ |
||
40 | 6 | public function setClientAdapter($clientAdapter) |
|
44 | } |
||
45 |