MemoryBackend::reset

public MemoryBackend::reset()

Reset statically cached variables.

This is only used by tests.

File

core/lib/Drupal/Core/Cache/MemoryBackend.php, line 220

Class

MemoryBackend
Defines a memory cache implementation.

Namespace

Drupal\Core\Cache

Code

public function reset() {
  $this->cache = [];
}
doc_Drupal
2016-10-29 09:25:48
Comments
Leave a Comment

Please login to continue.