public function DatabaseBackend::removeBin in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 349 - Contains \Drupal\Core\Cache\DatabaseBackend.
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);
}
}