src/Adapter/MemoryCacheItemPool.php 1 location
|
@@ 57-66 (lines=10) @@
|
| 54 |
|
* key is not found. However, if no keys are specified then an empty |
| 55 |
|
* traversable MUST be returned instead. |
| 56 |
|
*/ |
| 57 |
|
public function getItems(array $keys = []) |
| 58 |
|
{ |
| 59 |
|
$result = []; |
| 60 |
|
|
| 61 |
|
foreach ($keys as $key) { |
| 62 |
|
$result[$key] = $this->getItem($key); |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
return $result; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* Confirms if the cache contains specified cache item. |
src/Adapter/NullCacheItemPool.php 1 location
|
@@ 44-53 (lines=10) @@
|
| 41 |
|
* key is not found. However, if no keys are specified then an empty |
| 42 |
|
* traversable MUST be returned instead. |
| 43 |
|
*/ |
| 44 |
|
public function getItems(array $keys = []) |
| 45 |
|
{ |
| 46 |
|
$result = []; |
| 47 |
|
|
| 48 |
|
foreach ($keys as $key) { |
| 49 |
|
$result[$key] = $this->getItem($key); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
return $result; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
/** |
| 56 |
|
* Confirms if the cache contains specified cache item. |