CacheCollector::$cache

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cache
  2. 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cache
  3. 10 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cache

The cache backend that should be used.

Type: \Drupal\Core\Cache\CacheBackendInterface

File

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

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

protected $cache;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.