You are here

public function Redis_Client_Predis::getName in Redis 7.3

Same name and namespace in other branches
  1. 7 lib/Redis/Client/Predis.php \Redis_Client_Predis::getName()
  2. 7.2 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_FactoryInterface::getName

File

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

Class

Redis_Client_Predis
Predis client specific implementation.

Code

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