You are here

public function Redis_Cache_Base::canUseEval in Redis 7.2

Tell if the backend can use EVAL commands.

2 calls to Redis_Cache_Base::canUseEval()
Redis_Cache_PhpRedis::clear in lib/Redis/Cache/PhpRedis.php
Expires data from the cache.
Redis_Cache_Predis::clear in lib/Redis/Cache/Predis.php
Expires data from the cache.

File

lib/Redis/Cache/Base.php, line 122

Class

Redis_Cache_Base
Because those objects will be spawned during boostrap all its configuration must be set in the settings.php file.

Code

public function canUseEval() {
  return $this->useEval;
}