1 | <?php |
||
11 | class Client implements HttpRequestInterface |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var \GuzzleHttp\ClientInterface |
||
16 | */ |
||
17 | protected $guzzleClient; |
||
18 | |||
19 | /** |
||
20 | * @param \GuzzleHttp\ClientInterface $guzzleClient |
||
21 | */ |
||
22 | 135 | public function __construct(\GuzzleHttp\ClientInterface $guzzleClient) |
|
26 | |||
27 | /** |
||
28 | * @param string $url |
||
29 | */ |
||
30 | 4 | public function getResponse($url) |
|
46 | } |
||
47 |