Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | class CacheDatabaseHelper |
||
14 | { |
||
15 | /** |
||
16 | * @param array $item |
||
17 | * @return void |
||
18 | */ |
||
19 | public static function validateCacheItem(array $item) |
||
20 | { |
||
21 | CacheerHelper::validateCacheItem( |
||
22 | $item, |
||
23 | fn($msg) => CacheDatabaseException::create($msg) |
||
24 | ); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param array $options |
||
29 | * @return array |
||
30 | */ |
||
31 | public static function mergeCacheData($cacheData) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param mixed $currentCacheData |
||
38 | * @param mixed $cacheData |
||
39 | * @return array |
||
40 | */ |
||
41 | public static function arrayIdentifier(mixed $currentCacheData, mixed $cacheData) |
||
44 | } |
||
45 | } |
||
47 |