You are here

public function ChainedFastRawBackend::setFastStorage in Supercache 2.0.x

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

Return value

mixed

Overrides CoordinatedWriteCounterTrait::setFastStorage

File

src/Cache/ChainedFastRawBackend.php, line 381
Contains \Drupal\supercache\Cache\ChainedFastRawBackend.

Class

ChainedFastRawBackend
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);
}