PhpBackend::removeBin

public PhpBackend::removeBin()

Remove a cache bin.

Overrides CacheBackendInterface::removeBin

File

core/lib/Drupal/Core/Cache/PhpBackend.php, line 228

Class

PhpBackend
Defines a PHP cache implementation.

Namespace

Drupal\Core\Cache

Code

public function removeBin() {
  $this->cache = array();
  $this->storage()->deleteAll();
}
doc_Drupal
2016-10-29 09:33:55
Comments
Leave a Comment

Please login to continue.