You are here

public function Redis_Cache_Base::getClearMode in Redis 7.2

Get clear mode.

Return value

int One of the Redis_Cache_Base::FLUSH_* constant.

2 calls to Redis_Cache_Base::getClearMode()
Redis_Cache_PhpRedis::clearWithoutEval in lib/Redis/Cache/PhpRedis.php
Redis_Cache_Predis::clearWithoutEval in lib/Redis/Cache/Predis.php

File

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

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 getClearMode() {
  return $this->clearMode;
}