You are here

public function BackendChain::removeBin in Drupal 8

Same name and namespace in other branches
  1. 9 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 223

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();
  }
}