| 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 | 6 | public function __construct(Name $dependency, MethodName $method) |
|
| 19 | { |
||
| 20 | 6 | $this->dependency = $dependency; |
|
| 21 | 6 | $this->method = $method; |
|
| 22 | 6 | } |
|
| 23 | |||
| 24 | 1 | public function method(): MethodName |
|
| 27 | } |
||
| 28 | |||
| 29 | 3 | public function __toString(): string |
|
| 34 |