You are here

public function RocketChatStateinterface::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.

1 method overrides RocketChatStateinterface::set()
Drupal8State::set in modules/rocket_chat_api/src/RocketChat/Drupal8State.php
Saves a value for a given key.

File

modules/rocket_chat_api/src/RocketChat/RocketChatStateinterface.php, line 41

Class

RocketChatStateinterface

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function set($key, $value);