You are here

public function CacheCollector::destruct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::destruct()
  2. 9 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::destruct()

Performs destruct operations.

Overrides DestructableInterface::destruct

File

core/lib/Drupal/Core/Cache/CacheCollector.php, line 326

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

public function destruct() {
  $this
    ->updateCache();
}