You are here

public function Store::getPath in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/HttpCache/Store.php \Symfony\Component\HttpKernel\HttpCache\Store::getPath()
7 calls to Store::getPath()
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
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.

... See full list

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function getPath($key) {
  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);
}