PHP Класс Bravo3\Orm\Drivers\Redis\PredisClientFactory

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$sentinel SentinelMonitor

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

Метод Описание
create ( mixed $params = null, mixed $options = null, mixed $sentinel_params = null ) : Client Build and return an instance of Predis Client.

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

create() публичный статический метод

If sentinel parameters are specified, a connection to Sentinel would be initialised first and then find master slave configuration to be used for the Client. Note: First connection made to the Sentinel will be persisted and used for all consequent function calls.
public static create ( mixed $params = null, mixed $options = null, mixed $sentinel_params = null ) : Client
$params mixed
$options mixed
$sentinel_params mixed
Результат Predis\Client

Описание свойств

$sentinel статическое публичное свойство

static public SentinelMonitor,Bravo3\Orm\Drivers\Redis $sentinel
Результат SentinelMonitor