public function MemoryCounterBackend::resetCounter

public MemoryCounterBackend::resetCounter()

Resets the call counter.

File

core/lib/Drupal/Core/Cache/MemoryCounterBackend.php, line 89

Class

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

Namespace

Drupal\Core\Cache

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!MemoryCounterBackend.php/function/MemoryCounterBackend::resetCounter/8.1.x