You are here

public function Redis_Cache::getPermTtl in Redis 7.3

Get TTL for CACHE_PERMANENT items.

Return value

int Lifetime in seconds.

1 call to Redis_Cache::getPermTtl()
Redis_Cache::set in lib/Redis/Cache.php
Stores data in the persistent cache.

File

lib/Redis/Cache.php, line 154

Class

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

Code

public function getPermTtl() {
  return $this->permTtl;
}