CacheCollector::destruct

public CacheCollector::destruct() Performs destruct operations. Overrides DestructableInterface::destruct File core/lib/Drupal/Core/Cache/CacheCollector.php, line 313 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code public function destruct() { $this->updateCache(); }

CacheCollector::delete

public CacheCollector::delete($key) Deletes the element. It depends on the specific case and implementation whether this has a permanent effect or if it just affects the current request. Parameters string $key: Key that identifies the data. Overrides CacheCollectorInterface::delete File core/lib/Drupal/Core/Cache/CacheCollector.php, line 173 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code public function delete($key) { $this-

CacheCollector::clear

public CacheCollector::clear() Clears the collected cache entry. Overrides CacheCollectorInterface::clear File core/lib/Drupal/Core/Cache/CacheCollector.php, line 300 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code public function clear() { $this->reset(); if ($this->tags) { Cache::invalidateTags($this->tags); } else { $this->cache->delete($this->getCid()); } }

CacheCollector::$tags

A list of tags that are used for the cache entry. Type: array File core/lib/Drupal/Core/Cache/CacheCollector.php, line 38 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $tags;

CacheCollector::$storage

Storage for the data itself. Type: array File core/lib/Drupal/Core/Cache/CacheCollector.php, line 73 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $storage = array();

CacheCollector::$lock

The lock backend that should be used. Type: \Drupal\Core\Lock\LockBackendInterface File core/lib/Drupal/Core/Cache/CacheCollector.php, line 52 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $lock;

CacheCollector::$keysToRemove

An array of keys to remove from the cache on service termination. Type: array File core/lib/Drupal/Core/Cache/CacheCollector.php, line 66 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $keysToRemove = array();

CacheCollector::$keysToPersist

An array of keys to add to the cache on service termination. Type: array File core/lib/Drupal/Core/Cache/CacheCollector.php, line 59 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $keysToPersist = array();

CacheCollector::$cid

The cache id that is used for the cache entry. Type: string File core/lib/Drupal/Core/Cache/CacheCollector.php, line 31 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $cid;

CacheCollector::$cacheLoaded

Indicates if the collected cache was already loaded. The collected cache is lazy loaded when an entry is set, get or deleted. Type: bool File core/lib/Drupal/Core/Cache/CacheCollector.php, line 99 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $cacheLoaded = FALSE;