public function PhpBackend::removeBin in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::removeBin()
- 9 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::removeBin()
File
- core/
lib/ Drupal/ Core/ Cache/ PhpBackend.php, line 230
Class
- PhpBackend
- Defines a PHP cache implementation.
Namespace
Drupal\Core\CacheCode
public function removeBin() {
$this->cache = [];
$this
->storage()
->deleteAll();
}