function PhpStorageInterface::garbageCollection

Same name in other branches
  1. 9 core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::garbageCollection()
  2. 8.9.x core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php \Drupal\Component\PhpStorage\PhpStorageInterface::garbageCollection()
  3. 10 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 95

Class

PhpStorageInterface
Stores and loads PHP code.

Namespace

Drupal\Component\PhpStorage

Code

public function garbageCollection();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.