You are here

interface Redis_Client_Interface in Redis 7

Same name and namespace in other branches
  1. 7.2 lib/Redis/Client/Interface.php \Redis_Client_Interface

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

Hierarchy

Expanded class hierarchy of Redis_Client_Interface

All classes that implement Redis_Client_Interface

1 string reference to 'Redis_Client_Interface'
Client.php in lib/Redis/Client.php

File

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

View source
interface Redis_Client_Interface {

  /**
   * Get the connected client instance.
   *
   * @return mixed
   *   Real client depends from the library behind.
   */
  public function getClient($host = NULL, $port = NULL, $base = NULL);

  /**
   * Get underlaying library name used.
   *
   * This can be useful for contribution code that may work with only some of
   * the provided clients.
   *
   * @return string
   */
  public function getName();

}

Members

Namesort descending Modifiers Type Description Overrides
Redis_Client_Interface::getClient public function Get the connected client instance. 2
Redis_Client_Interface::getName public function Get underlaying library name used. 2