Total Complexity | 6 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Link |
||
18 | { |
||
19 | protected string $prefix = ''; |
||
20 | |||
21 | 31 | public function __construct(string $prefix = '') |
|
22 | { |
||
23 | 31 | $this->prefix = $prefix; |
|
24 | 31 | } |
|
25 | |||
26 | /** |
||
27 | * @param string[] $path |
||
28 | * @param string[] $module |
||
29 | * @param bool $moduleSingle |
||
30 | * @param string|null $user |
||
31 | * @return string |
||
32 | */ |
||
33 | 31 | public function link(array $path, array $module = [], bool $moduleSingle = false, ?string $user = null): string |
|
39 | } |
||
40 | } |
||
41 |