You are here

interface Redis_BackendInterface in Redis 7.3

Client based Redis component

Hierarchy

Expanded class hierarchy of Redis_BackendInterface

All classes that implement Redis_BackendInterface

File

lib/Redis/BackendInterface.php, line 6

View source
interface Redis_BackendInterface {

  /**
   * Set client
   *
   * @param mixed $client
   */
  public function setClient($client);

  /**
   * Get client
   *
   * @return mixed
   */
  public function getClient();

  /**
   * Set prefix
   *
   * @param string $prefix
   */
  public function setPrefix($prefix);

  /**
   * Get prefix
   *
   * @return string
   */
  public function getPrefix();

  /**
   * Set namespace
   *
   * @param string $namespace
   */
  public function setNamespace($namespace);

  /**
   * Get namespace
   *
   * @return string
   */
  public function getNamespace();

  /**
   * Get full key name using the set prefix
   *
   * @param string ...
   *   Any numer of strings to append to path using the separator
   *
   * @return string
   */
  public function getKey();

}

Members

Namesort descending Modifiers Type Description Overrides
Redis_BackendInterface::getClient public function Get client 1
Redis_BackendInterface::getKey public function Get full key name using the set prefix 1
Redis_BackendInterface::getNamespace public function Get namespace 2
Redis_BackendInterface::getPrefix public function Get prefix 1
Redis_BackendInterface::setClient public function Set client 1
Redis_BackendInterface::setNamespace public function Set namespace 1
Redis_BackendInterface::setPrefix public function Set prefix 1