public CacheCollector::reset()
Resets the local cache.
Does not clear the persistent cache.
Overrides CacheCollectorInterface::reset
File
- core/lib/Drupal/Core/Cache/CacheCollector.php, line 290
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\Cache
Code
public function reset() {
$this->storage = array();
$this->keysToPersist = array();
$this->keysToRemove = array();
$this->cacheLoaded = FALSE;
}
Please login to continue.