CacheCollector::$cacheCreated

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

Stores the cache creation time.

This is used to check if an invalidated cache item has been overwritten in the meantime.

Type: int

File

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

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheCreated;

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