You are here

Interface.php in Redis 7

Same filename in this branch
  1. 7 lib/Redis/Client/Interface.php
  2. 7 lib/Redis/Lock/Backend/Interface.php
Same filename and directory in other branches
  1. 7.2 lib/Redis/Client/Interface.php

File

lib/Redis/Client/Interface.php
View source
<?php

/**
 * Client proxy, client handling class tied to the bare mininum.
 */
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();

}

Interfaces

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