public function DatabaseBackend::removeBin in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Cache/DatabaseBackend.php \Drupal\Core\Cache\DatabaseBackend::removeBin()
Remove a cache bin.
Overrides CacheBackendInterface::removeBin
File
- core/
lib/ Drupal/ Core/ Cache/ DatabaseBackend.php, line 399
Class
- DatabaseBackend
- Defines a default cache implementation.
Namespace
Drupal\Core\CacheCode
public function removeBin() {
try {
$this->connection
->schema()
->dropTable($this->bin);
} catch (\Exception $e) {
$this
->catchException($e);
}
}