public function ChainedFastBackend::garbageCollection in Supercache 8
Same name and namespace in other branches
- 2.0.x src/Cache/ChainedFastBackend.php \Drupal\supercache\Cache\ChainedFastBackend::garbageCollection()
Performs garbage collection on a cache bin.
The backend may choose to delete expired or invalidated items.
Overrides CacheBackendInterface::garbageCollection
File
- src/
Cache/ ChainedFastBackend.php, line 248 - Contains \Drupal\supercache\Cache\ChainedFastBackend.
Class
- ChainedFastBackend
- Defines a backend with a fast and a consistent backend chain.
Namespace
Drupal\supercache\CacheCode
public function garbageCollection() {
$this->consistentBackend
->garbageCollection();
$this->fastBackend
->garbageCollection();
}