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