Resets the call counter.
File
- drupal/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();
}