Property | Type | Description | |
---|---|---|---|
$handler | instance | ||
$settings | default settings |
Method | Description | |
---|---|---|
__construct ( array $settings = [] ) | Check and setup Redis server | |
getHandler ( ) : |
Get Redis handler |
Method | Description | |
---|---|---|
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 | |
return | boolean |