public function StateWrapper::resetCache in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::resetCache()
- 8.2 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::resetCache()
- 4.x webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::resetCache()
Resets the static cache.
This is mainly used in testing environments.
Overrides StateInterface::resetCache
File
- webprofiler/
src/ State/ StateWrapper.php, line 92
Class
- StateWrapper
- Class StateWrapper.
Namespace
Drupal\webprofiler\StateCode
public function resetCache() {
$this->state
->resetCache();
}