| 1 | <?php |
||
| 12 | class GuzzleClient implements FeedReaderHttpClientInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var GuzzleClientInterface |
||
| 16 | */ |
||
| 17 | private $client; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param GuzzleClientInterface|null $client |
||
| 21 | */ |
||
| 22 | public function __construct(GuzzleClientInterface $client = null) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Make a GET request to a given URI |
||
| 29 | * |
||
| 30 | * @param string $uri |
||
| 31 | * @return ResponseInterface |
||
| 32 | */ |
||
| 33 | public function get($uri) |
||
| 39 | } |
||
| 40 |