public function ChainedFastBackend::setPersistentStorage in Supercache 8
Same name and namespace in other branches
- 2.0.x src/Cache/ChainedFastBackend.php \Drupal\supercache\Cache\ChainedFastBackend::setPersistentStorage()
Return value
mixed
Overrides CoordinatedWriteCounterTrait::setPersistentStorage
File
- src/
Cache/ ChainedFastBackend.php, line 339 - Contains \Drupal\supercache\Cache\ChainedFastBackend.
Class
- ChainedFastBackend
- Defines a backend with a fast and a consistent backend chain.
Namespace
Drupal\supercache\CacheCode
public function setPersistentStorage($cid, $value) {
$this->consistentBackend
->set($cid, $value);
}