Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
  2. 9 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;