You are here

public function DrupalMemcache::__construct in Zircon Profile 8

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

Constructs a DrupalMemcacheBase object.

Parameters

string $bin: The cache bin.

\Drupal\Core\Site\Settings: The settings object.

Overrides DrupalMemcacheBase::__construct

File

modules/memcache/src/DrupalMemcache.php, line 21
Contains \Drupal\memcache\DrupalMemcache.

Class

DrupalMemcache
Class DrupalMemcache.

Namespace

Drupal\memcache

Code

public function __construct($bin, Settings $settings) {
  parent::__construct($bin, $settings);
  $this->memcache = new \Memcache();
}