You are here

public function LockFactory::__construct in Redis 8

Creates a redis LockFactory.

File

src/Lock/LockFactory.php, line 20

Class

LockFactory
Lock backend singleton handling.

Namespace

Drupal\redis\Lock

Code

public function __construct(ClientFactory $client_factory) {
  $this->clientFactory = $client_factory;
}