You are here

public function Drupal8State::resetCache in Rocket.Chat 8.2

Resets the static cache.

This is mainly used in testing environments.

Overrides RocketChatStateinterface::resetCache

File

modules/rocket_chat_api/src/RocketChat/Drupal8State.php, line 102

Class

Drupal8State
Class Drupal8State

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function resetCache() {
  return $this->state
    ->resetCache();
}