프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaults | array | Default options for cache backend. | |
$options | array | Backend's options. |
메소드 | 설명 | |
---|---|---|
__construct ( null | array $options = null ) | Class constructor. | |
read ( string $key ) : array | ||
write ( string $key, array $data ) |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Phalcon\Cache\BackendInterface |
protected prepareKey ( string $key ) : string | ||
$key | string | |
리턴 | string |
protected static array $defaults | ||
리턴 | array |