PHP Class Metaphore\Store\PredisStore

Inheritance: implements Metaphore\Store\ValueStoreInterface, implements Metaphore\Store\LockStoreInterface
ファイルを表示 Open project: sobstel/metaphore

Protected Properties

Property Type Description
$predis

Public Methods

Method Description
__construct ( Client $predis )
add ( $key, $value, $ttl )
delete ( $key )
get ( $key )
set ( $key, $value, $ttl )

Method Details

__construct() public method

public __construct ( Client $predis )
$predis Predis\Client

add() public method

public add ( $key, $value, $ttl )

delete() public method

public delete ( $key )

get() public method

public get ( $key )

set() public method

public set ( $key, $value, $ttl )

Property Details

$predis protected_oe property

protected $predis