You are here

interface Redis_Client_FactoryInterface in Redis 7.3

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

Hierarchy

Expanded class hierarchy of Redis_Client_FactoryInterface

All classes that implement Redis_Client_FactoryInterface

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

File

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

View source
interface Redis_Client_FactoryInterface {

  /**
   * Get the connected client instance.
   *
   * @param array $options
   *   Options from the server pool configuration that may contain:
   *     - host
   *     - port
   *     - database
   *     - password
   *     - socket
   *
   * @return mixed
   *   Real client depends from the library behind.
   */
  public function getClient($options = array());

  /**
   * 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_FactoryInterface::getClient public function Get the connected client instance. 3
Redis_Client_FactoryInterface::getName public function Get underlaying library name used. 3