You are here

public function ChainedStorageExpirable::deleteAll in Supercache 8

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

Deletes all items from the key/value store.

Overrides DatabaseStorage::deleteAll

File

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

Class

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

Namespace

Drupal\supercache\KeyValueStore

Code

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