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

Breadcrumb

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

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.

... See full list

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\HttpCache

Code

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal