You are here

public function Redis_Client_FactoryInterface::getClient in Redis 7.3

Get the connected client instance.

Parameters

array $options: Options from the server pool configuration that may contain:

  • host
  • port
  • database
  • password
  • socket

Return value

mixed Real client depends from the library behind.

3 methods override Redis_Client_FactoryInterface::getClient()
Redis_Client_PhpRedis::getClient in lib/Redis/Client/PhpRedis.php
Get the connected client instance.
Redis_Client_Predis::getClient in lib/Redis/Client/Predis.php
Get the connected client instance.
Redis_Tests_Client_MockFactory::getClient in lib/Redis/Tests/Client/MockFactory.php
Get the connected client instance.

File

lib/Redis/Client/FactoryInterface.php, line 21

Class

Redis_Client_FactoryInterface
Client proxy, client handling class tied to the bare mininum.

Code

public function getClient($options = array());