You are here

public function ChainedStorageExpirable::getAll in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/KeyValueStore/ChainedStorageExpirable.php \Drupal\supercache\KeyValueStore\ChainedStorageExpirable::getAll()

Returns all stored key/value pairs in the collection.

Return value

array An associative array containing all stored items in the collection.

Overrides DatabaseStorageExpirable::getAll

File

src/KeyValueStore/ChainedStorageExpirable.php, line 115
Contains \Drupal\supercache\KeyValueStore\ChainedStorageExpirable.

Class

ChainedStorageExpirable
Defines a default key/value store implementation for expiring items.

Namespace

Drupal\supercache\KeyValueStore

Code

public function getAll() {

  // We cannot trust the cache
  // to have everything in it.
  return parent::getAll();
}