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