Property | Type | Description | |
---|---|---|---|
$cache | Neos\Cache\Frontend\FrontendInterface | ||
$securityContext |
Method | Description | |
---|---|---|
contains ( string $id ) : boolean | Tests if an entry exists in the cache. | |
delete ( string $id ) : boolean | Deletes a cache entry. | |
fetch ( string $id ) : mixed | Fetches an entry from the cache. | |
getStats ( ) : array | null | Retrieves cached information from the data store. | |
save ( string $id, mixed $data, integer $lifeTime ) : boolean | Puts data into the cache. | |
setCache ( Neos\Cache\Frontend\FrontendInterface $cache ) : void | Set the cache this adapter should use. |
Method | Description | |
---|---|---|
convertCacheIdentifier ( string $id ) : string |
protected convertCacheIdentifier ( string $id ) : string | ||
$id | string | |
return | string |
public save ( string $id, mixed $data, integer $lifeTime ) : boolean | ||
$id | string | The cache id. |
$data | mixed | The cache entry/data. |
$lifeTime | integer | The cache lifetime. If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime). |
return | boolean | TRUE if the entry was successfully stored in the cache, FALSE otherwise. |
protected FrontendInterface,Neos\Cache\Frontend $cache | ||
return | Neos\Cache\Frontend\FrontendInterface |