You are here

public function BackendChain::removeBin in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/BackendChain.php \Drupal\Core\Cache\BackendChain::removeBin()
  2. 10 core/lib/Drupal/Core/Cache/BackendChain.php \Drupal\Core\Cache\BackendChain::removeBin()

Remove a cache bin.

Overrides CacheBackendInterface::removeBin

File

core/lib/Drupal/Core/Cache/BackendChain.php, line 208

Class

BackendChain
Defines a chained cache implementation for combining multiple cache backends.

Namespace

Drupal\Core\Cache

Code

public function removeBin() {
  foreach ($this->backends as $backend) {
    $backend
      ->removeBin();
  }
}