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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.