Property | Type | Description | |
---|---|---|---|
$defaults | array | Default options for cache backend. | |
$options | array | Backend's options. |
Method | Description | |
---|---|---|
__construct ( null | array $options = null ) | Class constructor. | |
read ( string $key ) : array | ||
write ( string $key, array $data ) |
Method | 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 | ||
return | Phalcon\Cache\BackendInterface |
protected prepareKey ( string $key ) : string | ||
$key | string | |
return | string |
protected static array $defaults | ||
return | array |