private function Store::getCacheKey in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/HttpCache/Store.php \Symfony\Component\HttpKernel\HttpCache\Store::getCacheKey()
Returns a cache key for the given Request.
Parameters
Request $request A Request instance:
Return value
string A key for the given Request
7 calls to Store::getCacheKey()
- Store::invalidate in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Invalidates all cache entries that match the request.
- Store::isLocked in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Returns whether or not a lock exists.
- Store::lock in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Locks the cache for a given Request.
- Store::lookup in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Locates a cached Response for the Request provided.
- Store::purge in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Purges data for the given URL.
File
- vendor/
symfony/ http-kernel/ HttpCache/ Store.php, line 394
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
private function getCacheKey(Request $request) {
if (isset($this->keyCache[$request])) {
return $this->keyCache[$request];
}
return $this->keyCache[$request] = $this
->generateCacheKey($request);
}