function drush_cache_get_multiple

8.0.x cache.inc drush_cache_get_multiple(array &$cids, $bin = 'default')
6.x cache.inc drush_cache_get_multiple(array &$cids, $bin = 'default')
7.x cache.inc drush_cache_get_multiple(array &$cids, $bin = 'default')
5.x cache.inc drush_cache_get_multiple(array &$cids, $bin = 'default')
master cache.inc drush_cache_get_multiple(array &$cids, $bin = 'default')

Return data from the persistent cache when given an array of cache IDs.

Parameters

array $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.

string $bin: The cache bin where the data is stored.

Return value

An array of the items successfully returned from cache indexed by cid.

File

includes/cache.inc, line 91
Drush cache API

Code

function drush_cache_get_multiple(array &$cids, $bin = 'default') {
  return _drush_cache_get_object($bin)->getMultiple($cids);
}