1 | <?php |
||
15 | class Browser |
||
16 | { |
||
17 | /** |
||
18 | * @var HttpClient |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | /** |
||
23 | * @var ResponseRepair |
||
24 | */ |
||
25 | private $repair; |
||
26 | |||
27 | /** |
||
28 | * @var ErrorDetector |
||
29 | */ |
||
30 | private $detector; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $host; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | private $app_client; |
||
41 | |||
42 | /** |
||
43 | * @param HttpClient $client |
||
44 | * @param ResponseRepair $repair |
||
45 | * @param ErrorDetector $detector |
||
46 | * @param string $host |
||
47 | * @param string $app_client |
||
48 | */ |
||
49 | 2 | public function __construct( |
|
62 | |||
63 | /** |
||
64 | * @param string $path |
||
65 | * @param array $options |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | 2 | public function get($path, array $options = []) |
|
85 | } |
||
86 |