You are here

public function RedisCacheTagsChecksum::__construct in Redis 8

Creates a PHpRedis cache backend.

File

src/Cache/RedisCacheTagsChecksum.php, line 48

Class

RedisCacheTagsChecksum
Cache tags invalidations checksum implementation that uses redis.

Namespace

Drupal\redis\Cache

Code

public function __construct(ClientFactory $factory) {
  $this->client = $factory
    ->getClient();
  $this->clientType = $factory
    ->getClientName();
}