function CacheCollectorInterface::reset

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()
  2. 10 core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()
  3. 11.x core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()

Resets the local cache.

Does not clear the persistent cache.

1 method overrides CacheCollectorInterface::reset()
CacheCollector::reset in core/lib/Drupal/Core/Cache/CacheCollector.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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.