PHP Класс Webmozart\KeyValueStore\PhpRedisStore

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Автор: Philipp Wahala ([email protected])
Автор: Titouan Galopin ([email protected])
Наследование: extends AbstractRedisStore
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Redis $client = null ) Creates a store backed by a PhpRedis client.

Защищенные методы

Метод Описание
clientClear ( )
clientExists ( $key )
clientGet ( $key )
clientGetMultiple ( array $keys )
clientKeys ( )
clientNotFoundValue ( )
clientRemove ( $key )
clientSet ( $key, $value )

Описание методов

__construct() публичный Метод

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 clientClear ( )

clientExists() защищенный Метод

protected clientExists ( $key )

clientGet() защищенный Метод

protected clientGet ( $key )

clientGetMultiple() защищенный Метод

protected clientGetMultiple ( array $keys )
$keys array

clientKeys() защищенный Метод

protected clientKeys ( )

clientNotFoundValue() защищенный Метод

protected clientNotFoundValue ( )

clientRemove() защищенный Метод

protected clientRemove ( $key )

clientSet() защищенный Метод

protected clientSet ( $key, $value )