function Redis_Cache::getMultiple in Redis 7.2
Same name and namespace in other branches
- 7.3 lib/Redis/Cache.php \Redis_Cache::getMultiple()
Returns data from the persistent cache when given an array of cache IDs.
Parameters
$cids: An array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed.
Return value
An array of the items successfully returned from cache indexed by cid.
Overrides DrupalCacheInterface::getMultiple
File
- lib/
Redis/ Cache.php, line 21
Class
- Redis_Cache
- Cache backend for Redis module.
Code
function getMultiple(&$cids) {
return $this->backend
->getMultiple($cids);
}