| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class External |
||
| 11 | { |
||
| 12 | /** @var Link */ |
||
| 13 | protected $lib = null; |
||
| 14 | /** @var string[] */ |
||
| 15 | protected $presetPath = []; |
||
| 16 | /** @var string|null */ |
||
| 17 | protected $userName = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param Link $lib |
||
| 21 | * @param string[] $presetPath |
||
| 22 | * @param string|null $userName |
||
| 23 | */ |
||
| 24 | 5 | public function __construct(Link $lib, array $presetPath, ?string $userName = null) |
|
| 29 | 5 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param string[] $path |
||
| 33 | * @param string[] $module |
||
| 34 | * @param bool $single |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 5 | public function link(?array $path = null, array $module = [], bool $single = false): string |
|
| 47 |