You are here

public function ChainedFastBackend::setFastStorage in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/ChainedFastBackend.php \Drupal\supercache\Cache\ChainedFastBackend::setFastStorage()

Return value

mixed

Overrides CoordinatedWriteCounterTrait::setFastStorage

File

src/Cache/ChainedFastBackend.php, line 332
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 setFastStorage($cid, $value) {
  $this->fastBackend
    ->set($cid, $value);
}