Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()
  2. 9 core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()

Resets the local cache.

Does not clear the persistent cache.

2 methods override CacheCollectorInterface::reset()
CacheCollector::reset in core/lib/Drupal/Core/Cache/CacheCollector.php
Resets the local cache.
MenuActiveTrail::reset in core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
Resets the local cache.

File

core/lib/Drupal/Core/Cache/CacheCollectorInterface.php, line 69

Class

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

Namespace

Drupal\Core\Cache

Code

public function reset();