public function CacheArray::clear

Clear the cache.

1 call to CacheArray::clear()
1 method overrides CacheArray::clear()

File

drupal/core/lib/Drupal/Core/Utility/CacheArray.php, line 217
Definition of CacheArray

Class

CacheArray
Provides a caching wrapper to be used in place of large array structures.

Namespace

Drupal\Core\Utility

Code

public function clear() {
  $this->storage = array();
  $this->keysToPersist = array();
  cache($this->bin)
    ->delete($this->cid);
}