function Store::getPath
7 calls to Store::getPath()
- Store::doPurge in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Purges data for the given URL.
- Store::isLocked in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Returns whether or not a lock exists.
- Store::load in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Loads data for the given key.
- Store::lock in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Tries to lock the cache for a given Request, without blocking.
- Store::lookup in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Locates a cached Response for the Request provided.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ Store.php, line 413
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function getPath(string $key) : string {
return $this->root . \DIRECTORY_SEPARATOR . substr($key, 0, 2) . \DIRECTORY_SEPARATOR . substr($key, 2, 2) . \DIRECTORY_SEPARATOR . substr($key, 4, 2) . \DIRECTORY_SEPARATOR . substr($key, 6);
}