private function Store::getMetadata

Gets all data associated with the given key.

Use this method only if you know what you are doing.

Parameters

string $key The store key:

Return value

array An array of data associated with the key

3 calls to Store::getMetadata()

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

private function getMetadata($key) {
  if (false === ($entries = $this
    ->load($key))) {
    return array();
  }
  return unserialize($entries);
}