Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ArrayKey implements IKey |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $prefix = ''; |
||
18 | |||
19 | /** |
||
20 | * @param string[] $prefix |
||
21 | * @param string $separator |
||
22 | */ |
||
23 | 15 | public function __construct(array $prefix, string $separator = DIRECTORY_SEPARATOR) |
|
26 | 15 | } |
|
27 | |||
28 | 1 | public function fromSharedKey(string $key): string |
|
33 |