You are here

protected function KeyvalueMongodb::strMap in MongoDB 8

Cast keys to strings.

2 calls to KeyvalueMongodb::strMap()
KeyvalueMongodb::deleteMultiple in src/KeyvalueMongodb.php
Deletes multiple items from the key/value store.
KeyvalueMongodb::getHelper in src/KeyvalueMongodb.php
Executes the get for getMultiple() and getAll().

File

src/KeyvalueMongodb.php, line 220

Class

KeyvalueMongodb
This class holds a MongoDB key-value backend.

Namespace

Drupal\mongodb

Code

protected function strMap($keys) {
  return array_map('strval', $keys);
}