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
Namespace
Drupal\Core\Cache
Code
public function __construct(Settings $settings, array $default_bin_backends = array()) { $this->settings = $settings; $this->defaultBinBackends = $default_bin_backends; }
Please login to continue.