PHP Class Webmozart\KeyValueStore\PhpRedisStore

Since: 1.0
Author: Bernhard Schussek ([email protected])
Author: Philipp Wahala ([email protected])
Author: Titouan Galopin ([email protected])
Inheritance: extends AbstractRedisStore
Afficher le fichier Open project: webmozart/key-value-store Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Redis $client = null ) Creates a store backed by a PhpRedis client.

Méthodes protégées

Méthode Description
clientClear ( )
clientExists ( $key )
clientGet ( $key )
clientGetMultiple ( array $keys )
clientKeys ( )
clientNotFoundValue ( )
clientRemove ( $key )
clientSet ( $key, $value )

Method Details

__construct() public méthode

If no client is passed, a new one is created using the default server "127.0.0.1" and the default port 6379.
public __construct ( Redis $client = null )
$client Redis The client used to connect to Redis.

clientClear() protected méthode

protected clientClear ( )

clientExists() protected méthode

protected clientExists ( $key )

clientGet() protected méthode

protected clientGet ( $key )

clientGetMultiple() protected méthode

protected clientGetMultiple ( array $keys )
$keys array

clientKeys() protected méthode

protected clientKeys ( )

clientNotFoundValue() protected méthode

protected clientNotFoundValue ( )

clientRemove() protected méthode

protected clientRemove ( $key )

clientSet() protected méthode

protected clientSet ( $key, $value )