public function CacheRawBackendInterface::setMultiple in Supercache 2.0.x
Same name and namespace in other branches
- 8 src/Cache/CacheRawBackendInterface.php \Drupal\supercache\Cache\CacheRawBackendInterface::setMultiple()
Store multiple items in the persistent cache.
Parameters
array $items: An array of cache items, keyed by cid. In the form:
$items = array(
$cid => array(
// Required.
'data' => $data,
// Optional, defaults to CacheRawBackendInterface::CACHE_PERMANENT.
'expire' => CacheRawBackendInterface::CACHE_PERMANENT,
),
);
3 methods override CacheRawBackendInterface::setMultiple()
- ApcuRawBackend::setMultiple in src/
Cache/ ApcuRawBackend.php - Store multiple items in the persistent cache.
- ChainedFastRawBackend::setMultiple in src/
Cache/ ChainedFastRawBackend.php - Store multiple items in the persistent cache.
- DatabaseRawBackend::setMultiple in src/
Cache/ DatabaseRawBackend.php - Store multiple items in the persistent cache.
File
- src/
Cache/ CacheRawBackendInterface.php, line 102 - Contains \Drupal\supercache\Cache\CacheRawBackendInterface.
Class
- CacheRawBackendInterface
- Defines an interface for cache implementations.
Namespace
Drupal\supercache\CacheCode
public function setMultiple(array $items);