Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | class Client |
||
18 | { |
||
19 | /** @var AgentInterface */ |
||
20 | private $agent; |
||
21 | |||
22 | /** |
||
23 | * @param AgentInterface $agent |
||
24 | * @constructor |
||
25 | */ |
||
26 | 1 | public function __construct(AgentInterface $agent) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return AgentInterface |
||
33 | */ |
||
34 | 1 | public function agent(): AgentInterface |
|
35 | { |
||
36 | 1 | return $this->agent; |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return BrowserInterface |
||
41 | */ |
||
42 | 1 | public function browser(): BrowserInterface |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return TransactionInterface |
||
49 | */ |
||
50 | 1 | public function transaction(): TransactionInterface |
|
55 |