You are here

public function MemcacheLockFactory::__construct in Memcache API and Integration 8.2

Constructs a new MemcacheLockFactory.

Parameters

\Drupal\memcache\Driver\MemcacheDriverFactory $memcache_factory: The memcache factory.

File

src/Lock/MemcacheLockFactory.php, line 32

Class

MemcacheLockFactory
THe memcache lock factory.

Namespace

Drupal\memcache\Lock

Code

public function __construct(MemcacheDriverFactory $memcache_factory) {
  $this->factory = $memcache_factory;
}