Total Complexity | 5 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class Browser |
||
16 | { |
||
17 | /** |
||
18 | * @var HttpClient |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | /** |
||
23 | * @var ErrorDetector |
||
24 | */ |
||
25 | private $detector; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $host; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $app_client; |
||
36 | |||
37 | /** |
||
38 | * @param HttpClient $client |
||
39 | * @param ErrorDetector $detector |
||
40 | * @param string $host |
||
41 | * @param string $app_client |
||
42 | */ |
||
43 | 3 | public function __construct(HttpClient $client, ErrorDetector $detector, $host, $app_client) |
|
49 | 3 | } |
|
50 | |||
51 | /** |
||
52 | * @param string $path |
||
53 | * @param array $options |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | 3 | public function get($path, array $options = []) |
|
75 |