PHP Class Metaphore\Store\MemcacheStore

Inheritance: extends AbstractMemcachedStore, implements Metaphore\Store\ValueStoreInterface, implements Metaphore\Store\LockStoreInterface
Show file Open project: sobstel/metaphore

Protected Properties

Property Type Description
$memcache * @var Memcache

Public Methods

Method Description
__construct ( Memcache $memcache )
add ( $key, $value, $ttl )
delete ( $key )
get ( $key )
set ( $key, $value, $ttl )

Method Details

__construct() public method

public __construct ( Memcache $memcache )
$memcache Memcache

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

$memcache protected property

* @var Memcache
protected $memcache