You are here

public function KeyvalueMongodb::getMultiple in MongoDB 8

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

@todo What's returned for non-existing keys?

Parameters

array $keys: A list of keys to retrieve.

Return value

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

Overrides KeyValueStoreInterface::getMultiple

File

src/KeyvalueMongodb.php, line 129

Class

KeyvalueMongodb
This class holds a MongoDB key-value backend.

Namespace

Drupal\mongodb

Code

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