1 | <?php |
||
13 | class Client implements IEXCloud |
||
14 | { |
||
15 | /** |
||
16 | * @var Guzzle|null |
||
17 | */ |
||
18 | private $client = null; |
||
19 | |||
20 | /** |
||
21 | * Client constructor. |
||
22 | * |
||
23 | * @param Guzzle $client |
||
24 | */ |
||
25 | 167 | public function __construct(Guzzle $client) |
|
29 | |||
30 | /** |
||
31 | * @param RequestInterface $request |
||
32 | * @param array $options |
||
33 | * |
||
34 | * @return ResponseInterface |
||
35 | * @throws GuzzleException |
||
36 | * @throws WrongData |
||
37 | */ |
||
38 | 67 | public function send(RequestInterface $request, array $options = []): ResponseInterface |
|
51 | } |
||
52 |