public function RocketChatStateinterface::get in Rocket.Chat 8.2
Returns the stored value for a given key.
Parameters
string $key: The key of the data to retrieve.
mixed $default: The default value to use if the key is not found.
Return value
mixed The stored value, or NULL if no value exists.
1 method overrides RocketChatStateinterface::get()
- Drupal8State::get in modules/
rocket_chat_api/ src/ RocketChat/ Drupal8State.php - Returns the stored value for a given key.
File
- modules/
rocket_chat_api/ src/ RocketChat/ RocketChatStateinterface.php, line 20
Class
Namespace
Drupal\rocket_chat_api\RocketChatCode
public function get($key, $default = NULL);