| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class StaticPrefixKey implements IKey |
||
| 15 | { |
||
| 16 | /** @var string */ |
||
| 17 | protected static $prefix = '/var/cache/wwwcache/'; |
||
| 18 | |||
| 19 | 8 | public static function setPrefix(string $prefix): void |
|
| 22 | 8 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $key channel Id |
||
| 26 | * @return string |
||
| 27 | * /var/cache/wwwcache - coming from cache check |
||
| 28 | */ |
||
| 29 | 8 | public function fromSharedKey(string $key): string |
|
| 34 |