CacheFactory::__construct

public CacheFactory::__construct(Settings $settings, array $default_bin_backends = array())

Constructs CacheFactory object.

Parameters

\Drupal\Core\Site\Settings $settings: The settings array.

array $default_bin_backends: (optional) A mapping of bin to backend service name. Mappings in $settings take precedence over this.

File

core/lib/Drupal/Core/Cache/CacheFactory.php, line 45

Class

CacheFactory

Namespace

Drupal\Core\Cache

Code

public function __construct(Settings $settings, array $default_bin_backends = array()) {
  $this->settings = $settings;
  $this->defaultBinBackends = $default_bin_backends;
}
doc_Drupal
2016-10-29 08:49:34
Comments
Leave a Comment

Please login to continue.