You are here

public function MemoryCounterBackend::resetCounter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/MemoryCounterBackend.php \Drupal\Core\Cache\MemoryCounterBackend::resetCounter()

Resets the call counter.

File

core/lib/Drupal/Core/Cache/MemoryCounterBackend.php, line 96
Contains \Drupal\Core\Cache\MemoryCounterBackend.

Class

MemoryCounterBackend
Defines a memory cache implementation that counts set and get calls.

Namespace

Drupal\Core\Cache

Code

public function resetCounter() {
  $this->counter = array();
}