Property | Type | Description | |
---|---|---|---|
$cache | Neos\Cache\Frontend\FrontendInterface | Reference to the cache frontend which uses this backend | |
$cacheIdentifier | string | ||
$defaultLifetime | integer | Default lifetime of a cache entry in seconds | |
$environmentConfiguration |
Method | Description | |
---|---|---|
__construct ( |
Constructs this backend | |
getPrefixedIdentifier ( string $entryIdentifier ) : string | Returns the internally used, prefixed entry identifier for the given public entry identifier. | |
setCache ( Neos\Cache\Frontend\FrontendInterface $cache ) : void | Sets a reference to the cache frontend which uses this backend | |
setDefaultLifetime ( integer $defaultLifetime ) : void | Sets the default lifetime for this cache backend |
Method | Description | |
---|---|---|
calculateExpiryTime ( integer $lifetime = null ) : DateTime | Calculates the expiry time by the given lifetime. If no lifetime is specified, the default lifetime is used. | |
setProperties ( array $properties, boolean $throwExceptionIfPropertyNotSettable = true ) : void | ||
setProperty ( string $propertyName, mixed $propertyValue ) : boolean |
public __construct ( |
||
$environmentConfiguration | ||
$options | array | Configuration options - depends on the actual backend |
protected calculateExpiryTime ( integer $lifetime = null ) : DateTime | ||
$lifetime | integer | The lifetime in seconds |
return | DateTime | The expiry time |
public getPrefixedIdentifier ( string $entryIdentifier ) : string | ||
$entryIdentifier | string | The short entry identifier, for example "NumberOfPostedArticles" |
return | string | The prefixed identifier, for example "Flow694a5c7a43a4_NumberOfPostedArticles" |
public setDefaultLifetime ( integer $defaultLifetime ) : void | ||
$defaultLifetime | integer | Default lifetime of this cache backend in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited liftime. |
return | void |
protected FrontendInterface,Neos\Cache\Frontend $cache | ||
return | Neos\Cache\Frontend\FrontendInterface |
protected int $defaultLifetime | ||
return | integer |