CacheCollector::$cacheCreated
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
- 9 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
- 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheCreated
Stores the cache creation time.
Type: int
Deprecated
in drupal:11.5.0 and is removed from drupal:12.0.0. If checking whether the cache item was loaded, you can check the loadedData property instead.
See also
https://www.drupal.org/project/drupal/issues/3496328
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 85
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
protected $cacheCreated;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.