public function CacheBackendWrapper::garbageCollection in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::garbageCollection()
- 8.2 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::garbageCollection()
- 4.x webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::garbageCollection()
Performs garbage collection on a cache bin.
The backend may choose to delete expired or invalidated items.
Overrides CacheBackendInterface::garbageCollection
File
- webprofiler/
src/ Cache/ CacheBackendWrapper.php, line 165
Class
- CacheBackendWrapper
- Wraps an existing cache backend to track calls to the cache backend.
Namespace
Drupal\webprofiler\CacheCode
public function garbageCollection() {
return $this->cacheBackend
->garbageCollection();
}