public function Drupal8State::set in Rocket.Chat 8.2
Saves a value for a given key.
Parameters
string $key: The key of the data to store.
mixed $value: The data to store.
Overrides RocketChatStateinterface::set
File
- modules/
rocket_chat_api/ src/ RocketChat/ Drupal8State.php, line 63
Class
- Drupal8State
- Class Drupal8State
Namespace
Drupal\rocket_chat_api\RocketChatCode
public function set($key, $value) {
return $this->state
->set($key, $value);
}