You are here

function MemcacheBackendFactory::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/memcache/src/MemcacheBackendFactory.php \Drupal\memcache\MemcacheBackendFactory::__construct()

Constructs the DatabaseBackendFactory object.

Parameters

\Drupal\Core\Lock\LockBackendInterface $lock:

\Drupal\Core\Site\Settings $settings:

\Drupal\memcache\DrupalMemcacheFactory $memcache_factory:

File

modules/memcache/src/MemcacheBackendFactory.php, line 54
Contains \Drupal\memcache\MemcacheBackendFactory.

Class

MemcacheBackendFactory
Class DatabaseBackendFactory.

Namespace

Drupal\memcache

Code

function __construct(LockBackendInterface $lock, Settings $settings, DrupalMemcacheFactory $memcache_factory, CacheTagsChecksumInterface $checksum_provider) {
  $this->lock = $lock;
  $this->settings = $settings;
  $this->memcacheFactory = $memcache_factory;
  $this->checksumProvider = $checksum_provider;
}