CacheTrait.php
79 $this->getCache()->put($this->getCacheSection($response), $response->getCacheId(), $payload, $response->getCacheLifetime());
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
putInCache(Response $response, $payload)
Store the payload of the response in the cache.
Definition: CacheTrait.php:78
getCacheDate(Response $response)
Definition: CacheTrait.php:40
getCacheLifetime()
Get the lifetime of a cached response.
getBaseCacheSection()
Get the cache base section for the concreate format.
Definition: CacheTrait.php:50
getCacheSection(Response $response)
Get the cache section for a response.
Definition: CacheTrait.php:59
getFromCache(Response $response)
Load the payload of the response from the cache.
Definition: CacheTrait.php:87