public State::resetCache()
Resets the static cache.
This is mainly used in testing environments.
Overrides StateInterface::resetCache
File
- core/lib/Drupal/Core/State/State.php, line 117
Class
- State
- Provides the state system using a key value store.
Namespace
Drupal\Core\State
Code
public function resetCache() {
$this->cache = array();
}
Please login to continue.