Свойство | Тип | Описание | |
---|---|---|---|
$handler | instance | ||
$settings | default settings |
Метод | Описание | |
---|---|---|
__construct ( array $settings = [] ) | Check and setup Redis server | |
getHandler ( ) : |
Get Redis handler |
Метод | Описание | |
---|---|---|
doAdd ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean | ||
doContains ( string $id ) : boolean | ||
doDelete ( string $id ) : integer | ||
doFlush ( ) | ||
doGet ( string $id ) : boolean | mixed | string | ||
doSet ( string $id, mixed $data, integer $ttl = Cache::TTL_NO_EXPIRY ) : boolean |
public __construct ( array $settings = [] ) | ||
$settings | array |
protected doContains ( string $id ) : boolean | ||
$id | string | |
Результат | boolean |