private function Store::getMetadata in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/HttpCache/Store.php \Symfony\Component\HttpKernel\HttpCache\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()
- Store::invalidate in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Invalidates all cache entries that match the request.
- Store::lookup in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Locates a cached Response for the Request provided.
- Store::write in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Writes a cache entry to the store for the given Request and Response.
File
- vendor/
symfony/ http-kernel/ HttpCache/ Store.php, line 289
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
private function getMetadata($key) {
if (false === ($entries = $this
->load($key))) {
return array();
}
return unserialize($entries);
}