private function Store::load

Loads data for the given key.

Parameters

string $key The store key:

Return value

string The data associated with the key

1 call to Store::load()
Store::getMetadata in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php
Gets all data associated with the given key.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php, line 300

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

private function load($key) {
  $path = $this
    ->getPath($key);
  return is_file($path) ? file_get_contents($path) : false;
}