Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
RedisCache
PHP Class RedisCache
Show file
Open project: radiosilence/ham
Class Usage Examples
Public Methods
Method
Description
__construct
(
$prefix
= false,
$host
= "127.0.0.1" )
dec
(
$key
,
$interval
= 1 )
get
(
$key
)
inc
(
$key
,
$interval
= 1 )
set
(
$key
,
$val
,
$ttl
= false )
Method Details
__construct()
public
method
public
__construct
(
$prefix
= false,
$host
= "127.0.0.1" )
dec()
public
method
public
dec
(
$key
,
$interval
= 1 )
get()
public
method
public
get
(
$key
)
inc()
public
method
public
inc
(
$key
,
$interval
= 1 )
set()
public
method
public
set
(
$key
,
$val
,
$ttl
= false )