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\LockCode
public function __construct(MemcacheDriverFactory $memcache_factory) {
$this->factory = $memcache_factory;
}