public CacheCollector::clear()
Clears the collected cache entry.
Overrides CacheCollectorInterface::clear
File
- core/lib/Drupal/Core/Cache/CacheCollector.php, line 300
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\Cache
Code
public function clear() { $this->reset(); if ($this->tags) { Cache::invalidateTags($this->tags); } else { $this->cache->delete($this->getCid()); } }
Please login to continue.