You are here

public function CacheBase::setMinTtl in Redis 8

Set the minimum TTL (unit testing only).

File

src/Cache/CacheBase.php, line 249

Class

CacheBase
Base class for redis cache backends.

Namespace

Drupal\redis\Cache

Code

public function setMinTtl($ttl) {
  $this->minTtl = $ttl;
}