Retrieves a connection instance from the cluster using a key.
public getConnectionByKey ( string $key ) : Predis\Connection\NodeConnectionInterface | ||
$key | string | Key string. |
return | Predis\Connection\NodeConnectionInterface |
public getConnectionByKey ( string $key ) : Predis\Connection\NodeConnectionInterface | ||
$key | string | Key string. |
return | Predis\Connection\NodeConnectionInterface |