function PhpStorageInterface::garbageCollection
Same name in other branches
- 8.9.x core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::garbageCollection()
- 10 core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::garbageCollection()
- 11.x core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::garbageCollection()
Performs garbage collection on the storage.
The storage may choose to delete expired or invalidated items.
2 methods override PhpStorageInterface::garbageCollection()
- FileReadOnlyStorage::garbageCollection in core/
lib/ Drupal/ Component/ PhpStorage/ FileReadOnlyStorage.php - Performs garbage collection on the storage.
- FileStorage::garbageCollection in core/
lib/ Drupal/ Component/ PhpStorage/ FileStorage.php - Performs garbage collection on the storage.
File
-
core/
lib/ Drupal/ Component/ PhpStorage/ PhpStorageInterface.php, line 102
Class
- PhpStorageInterface
- Stores and loads PHP code.
Namespace
Drupal\Component\PhpStorageCode
public function garbageCollection();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.