You are here

public function ChainedFastBackend::getFastStorage in Supercache 8

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

Return value

mixed

Overrides CoordinatedWriteCounterTrait::getFastStorage

File

src/Cache/ChainedFastBackend.php, line 318
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 getFastStorage($cid) {
  return $this->fastBackend
    ->get($cid);
}