You are here

public function ChainedStorage::deleteAll in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/KeyValueStore/ChainedStorage.php \Drupal\supercache\KeyValueStore\ChainedStorage::deleteAll()

Deletes all items from the key/value store.

Overrides DatabaseStorage::deleteAll

File

src/KeyValueStore/ChainedStorage.php, line 147
Contains \Drupal\supercache\KeyValueStore\ChainedStorage;

Class

ChainedStorage
Defines a chained key value storage that uses any cache backend on top of the database default key/value storage.

Namespace

Drupal\supercache\KeyValueStore

Code

public function deleteAll() {
  parent::deleteAll();
  $this->cache
    ->deleteAll();
}