You are here

public static function Redis_Client_Predis::getPredisVersionMajor in Redis 7.2

Get predis version major.

Return value

int

1 call to Redis_Client_Predis::getPredisVersionMajor()
Redis_Lock_Backend_Predis::lockAcquire in lib/Redis/Lock/Backend/Predis.php
Acquire lock.

File

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

Class

Redis_Client_Predis
Predis client specific implementation.

Code

public static function getPredisVersionMajor() {
  return self::$predisVersionMajor;
}