1 | <?php |
||
5 | class Request |
||
6 | { |
||
7 | /** @var Http */ |
||
8 | private $http; |
||
9 | |||
10 | /** |
||
11 | * Request constructor. |
||
12 | * @param Http $http |
||
13 | */ |
||
14 | 5 | public function __construct(Http $http) |
|
18 | |||
19 | /** |
||
20 | * @param string $url |
||
21 | * @param string $queryString |
||
22 | * @return string |
||
23 | * @throws \Exception |
||
24 | */ |
||
25 | 3 | public function doRequest($url, $queryString) |
|
29 | } |
||
30 |