Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | final class Tunnel implements Argument |
||
14 | { |
||
15 | private $dependency; |
||
16 | private $method; |
||
17 | |||
18 | 8 | public function __construct(Name $dependency, MethodName $method) |
|
19 | { |
||
20 | 8 | $this->dependency = $dependency; |
|
21 | 8 | $this->method = $method; |
|
22 | 8 | } |
|
23 | |||
24 | 1 | public function method(): MethodName |
|
27 | } |
||
28 | |||
29 | 5 | public function __toString(): string |
|
34 |