CacheCollector::$cacheCreated

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
  2. 10 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
  3. 11.x 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 84

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.