You are here

public function Redis_Client_Predis::getName in Redis 7.2

Same name and namespace in other branches
  1. 7.3 lib/Redis/Client/Predis.php \Redis_Client_Predis::getName()
  2. 7 lib/Redis/Client/Predis.php \Redis_Client_Predis::getName()

Get underlaying library name used.

This can be useful for contribution code that may work with only some of the provided clients.

Return value

string

Overrides Redis_Client_Interface::getName

File

lib/Redis/Client/Predis.php, line 133

Class

Redis_Client_Predis
Predis client specific implementation.

Code

public function getName() {
  return 'Predis';
}