PHP Class Bravo3\Orm\Drivers\Redis\PredisClientFactory

Afficher le fichier Open project: bravo3/orm Class Usage Examples

Méthodes publiques

Свойство Type Description
$sentinel SentinelMonitor

Méthodes publiques

Méthode Description
create ( mixed $params = null, mixed $options = null, mixed $sentinel_params = null ) : Client Build and return an instance of Predis Client.

Method Details

create() public static méthode

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
Résultat Predis\Client

Property Details

$sentinel static_oe public_oe property

static public SentinelMonitor,Bravo3\Orm\Drivers\Redis $sentinel
Résultat SentinelMonitor