You are here

public function Redis_AbstractBackend::getClient in Redis 7.2

Same name and namespace in other branches
  1. 7.3 lib/Redis/AbstractBackend.php \Redis_AbstractBackend::getClient()

Get redis client

Return value

Redis|Predis\Client

2 calls to Redis_AbstractBackend::getClient()
Redis_Queue_PhpRedis::claimItem in lib/Redis/Queue/PhpRedis.php
Claim an item in the queue for processing.
Redis_Queue_PhpRedis::createItem in lib/Redis/Queue/PhpRedis.php
Add a queue item and store it directly to the queue.

File

lib/Redis/AbstractBackend.php, line 116

Class

Redis_AbstractBackend

Code

public function getClient() {

  // Ugly stateless and static
  return Redis_Client::getClient();
}