function CacheCollector::resolveCacheMiss
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::resolveCacheMiss()
Resolves a cache miss.
When an offset is not found in the object, this is treated as a cache miss. This method allows classes using this implementation to look up the actual value and allow it to be cached.
Parameters
string $key: The offset that was requested.
Return value
mixed The value of the offset, or NULL if no value was found.
1 method overrides CacheCollector::resolveCacheMiss()
- LocaleLookup::resolveCacheMiss in core/
modules/ locale/ src/ LocaleLookup.php - Resolves a cache miss.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 210
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
abstract protected function resolveCacheMiss($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.