You are here

public function PhpStorageInterface::garbageCollection in Drupal 9

Same name and namespace in other branches
  1. 8 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\PhpStorage

Code

public function garbageCollection();