You are here

public function ChainedFastBackend::setPersistentStorage in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 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\Cache

Code

public function setPersistentStorage($cid, $value) {
  $this->consistentBackend
    ->set($cid, $value);
}