public function CacheCollector::reset
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\CacheCode
public function reset() { $this->storage = array(); $this->keysToPersist = array(); $this->keysToRemove = array(); $this->cacheLoaded = FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!CacheCollector.php/function/CacheCollector::reset/8.1.x