eZ/Publish/Core/Persistence/Cache/AbstractHandler.php 1 location
|
@@ 77-81 (lines=5) @@
|
| 74 |
|
// Generate unique cache keys |
| 75 |
|
$cacheKeys = []; |
| 76 |
|
$cacheKeysToIdMap = []; |
| 77 |
|
foreach (\array_unique($ids) as $id) { |
| 78 |
|
$key = $keyPrefix . $id . ($keySuffixes[$id] ?? ''); |
| 79 |
|
$cacheKeys[] = $key; |
| 80 |
|
$cacheKeysToIdMap[$key] = $id; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
// Load cache items by cache keys (will contain hits and misses) |
| 84 |
|
$list = []; |
eZ/Publish/Core/Persistence/Cache/AbstractTrait.php 1 location
|
@@ 59-63 (lines=5) @@
|
| 56 |
|
|
| 57 |
|
// Generate unique cache keys |
| 58 |
|
$cacheKeys = $cacheKeysToIdMap = []; |
| 59 |
|
foreach (\array_unique($ids) as $id) { |
| 60 |
|
$key = $keyPrefix . $id . $keySuffix; |
| 61 |
|
$cacheKeys[] = $key; |
| 62 |
|
$cacheKeysToIdMap[$key] = $id; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
// Load cache items by cache keys (will contain hits and misses) |
| 66 |
|
$list = []; |