interface ClientInterface in Redis 8
Client proxy, client handling class tied to the bare minimum.
Hierarchy
- interface \Drupal\redis\ClientInterface
Expanded class hierarchy of ClientInterface
All classes that implement ClientInterface
2 files declare their use of ClientInterface
- PhpRedis.php in src/
Client/ PhpRedis.php - Predis.php in src/
Client/ Predis.php
File
- src/
ClientInterface.php, line 8
Namespace
Drupal\redisView source
interface ClientInterface {
/**
* Get the connected client instance.
*
* @return mixed
* Real client depends from the library behind.
*/
public function getClient($host = NULL, $port = NULL, $base = NULL, $password = NULL, $replicationHosts = [], $persistent = FALSE);
/**
* Get underlying 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClientInterface:: |
public | function | Get the connected client instance. | 2 |
ClientInterface:: |
public | function | Get underlying library name used. | 2 |