Loads data for the given key.
Parameters
string $key The store key:
Return value
string The data associated with the 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;
}