You are here

public function Drupal8State::getMultiple in Rocket.Chat 8.2

Returns the stored key/value pairs for a given set of keys.

Parameters

array $keys: A list of keys to retrieve.

Return value

array An associative array of items successfully returned, indexed by key.

Overrides RocketChatStateinterface::getMultiple

File

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

Class

Drupal8State
Class Drupal8State

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function getMultiple(array $keys) {
  return $this->state
    ->getMultiple($keys);
}