protected function MongodbLock::mongoId in MongoDB 8
Parameters
$name:
Return value
array
2 calls to MongodbLock::mongoId()
- MongodbLock::acquire in src/
MongodbLock.php - Acquires a lock.
- MongodbLock::release in src/
MongodbLock.php - Releases the given lock.
File
- src/
MongodbLock.php, line 93 - Contains \Drupal\mongodb\MongodbLock.
Class
Namespace
Drupal\mongodbCode
protected function mongoId($name) {
return [
'name' => $name,
'value' => $this
->getLockId(),
];
}