Свойство | Type | Description | |
---|---|---|---|
$defaultLifetime | array | Default option for cache lifetime. | |
$defaultPrefix | string | Default option for prefix. | |
$options | array | Backend's options. |
Méthode | Description | |
---|---|---|
__construct ( null | array $options = null ) | Class constructor. | |
read ( string $key ) : array | ||
write ( string $key, array $data ) |
Méthode | Description | |
---|---|---|
getCacheBackend ( ) : Phalcon\Cache\BackendInterface | Returns cache backend instance. | |
prepareKey ( string $key ) : string | Returns the key with a prefix or other changes |
public __construct ( null | array $options = null ) | ||
$options | null | array |
abstract protected getCacheBackend ( ) : Phalcon\Cache\BackendInterface | ||
Résultat | Phalcon\Cache\BackendInterface |
abstract protected prepareKey ( string $key ) : string | ||
$key | string | |
Résultat | string |
protected static array $defaultLifetime | ||
Résultat | array |
protected static string $defaultPrefix | ||
Résultat | string |