You are here

public function Redis_Client_Interface::getClient in Redis 7.2

Same name and namespace in other branches
  1. 7 lib/Redis/Client/Interface.php \Redis_Client_Interface::getClient()

Get the connected client instance.

Return value

mixed Real client depends from the library behind.

2 methods override Redis_Client_Interface::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.

File

lib/Redis/Client/Interface.php, line 13

Class

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

Code

public function getClient($host = NULL, $port = NULL, $base = NULL, $socket = NULL);