Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Store.php

function Store::cleanup

Cleanups storage.

Overrides StoreInterface::cleanup

File

vendor/symfony/http-kernel/HttpCache/Store.php, line 56

Class

Store
Store implements all the logic for storing cache metadata (Request and Response headers).

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function cleanup() : void {
    // unlock everything
    foreach ($this->locks as $lock) {
        flock($lock, \LOCK_UN);
        fclose($lock);
    }
    $this->locks = [];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal