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

Breadcrumb

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

function HttpCache::record

Records that an event took place.

8 calls to HttpCache::record()
HttpCache::forward in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Forwards the Request to the backend and returns the Response.
HttpCache::handle in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Handles a Request to convert it to a Response.
HttpCache::invalidate in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Invalidates non-safe methods (like POST, PUT, and DELETE).
HttpCache::lock in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Locks a Request during the call to the backend.
HttpCache::lookup in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Lookups a Response from the cache for the given Request.

... See full list

File

vendor/symfony/http-kernel/HttpCache/HttpCache.php, line 693

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

private function record(Request $request, string $event) : void {
    $this->traces[$this->getTraceKey($request)][] = $event;
}
RSS feed
Powered by Drupal