public function DatabaseBackend::removeBin

Remove a cache bin.

Overrides CacheBackendInterface::removeBin

File

drupal/core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 411
Definition of Drupal\Core\Cache\DatabaseBackend.

Class

DatabaseBackend
Defines a default cache implementation.

Namespace

Drupal\Core\Cache

Code

public function removeBin() {
  try {
    $this->connection
      ->schema()
      ->dropTable($this->bin);
  } catch (\Exception $e) {
    $this
      ->catchException($e);
  }
}