ClusterRegistry
in package
Table of Contents
- $registry : array<string|int, mixed>|null
- connect() : ClusterInterface
- registerConnectionHandler() : void
- unregisterConnectionHandler() : void
Properties
$registry
private
static array<string|int, mixed>|null
$registry
= null
Methods
connect()
public
static connect(string $connectionString, ClusterOptions $options) : ClusterInterface
Parameters
- $connectionString : string
- $options : ClusterOptions
Tags
Return values
ClusterInterface —registerConnectionHandler()
public
static registerConnectionHandler(string $pattern, callable $handler) : void
Parameters
- $pattern : string
- $handler : callable
Return values
void —unregisterConnectionHandler()
public
static unregisterConnectionHandler(string $pattern) : void
Parameters
- $pattern : string