protected function StateWrapper::resolveCacheMiss in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::resolveCacheMiss()
- 8.2 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::resolveCacheMiss()
- 4.x webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::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.
Overrides CacheCollector::resolveCacheMiss
File
- webprofiler/
src/ State/ StateWrapper.php, line 99
Class
- StateWrapper
- Class StateWrapper.
Namespace
Drupal\webprofiler\StateCode
protected function resolveCacheMiss($key) {
return $this->state
->resolveCacheMiss($key);
}