1 | <?php |
||
9 | class GuzzleClient implements IframelyClientInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var null|string |
||
13 | */ |
||
14 | private $apiKey; |
||
15 | |||
16 | /** |
||
17 | * @var ClientInterface |
||
18 | */ |
||
19 | private $client; |
||
20 | |||
21 | /** |
||
22 | * Class constructor. |
||
23 | * |
||
24 | * @param string|null $apiKey API key. |
||
25 | * @param ClientInterface $client Guzzle Client |
||
26 | */ |
||
27 | public function __construct(string $apiKey, ClientInterface $client) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function getUrlData(string $url): ResponseInterface |
||
40 | } |
||
41 |