You are here

public function ChainedFastBackend::getPersistentStorage in Supercache 2.0.x

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

Return value

mixed

Overrides CoordinatedWriteCounterTrait::getPersistentStorage

File

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