PHP Class RedisCache

Datei anzeigen 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 )