You are here

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

Constructor.

Parameters

\Drupal\Core\Site\Settings $settings: The site settings instance.

File

src/MemcacheSettings.php, line 25

Class

MemcacheSettings
Class for holding Memcache related config.

Namespace

Drupal\memcache

Code

public function __construct(Settings $settings) {
  $this->settings = $settings
    ->get('memcache', []);
}