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.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php, line 693
Class
- HttpCache
- Cache provides HTTP caching.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
private function record(Request $request, string $event) : void {
$this->traces[$this->getTraceKey($request)][] = $event;
}