collection = $collection; } /** * {@inheritdoc} */ public function getCollectionName() { return $this->collection; } /** * {@inheritdoc} */ public function get($key, $default = NULL) { $values = $this->getMultiple([$key]); return $values[$key] ?? $default; } /** * {@inheritdoc} */ public function setMultiple(array $data) { foreach ($data as $key => $value) { $this->set($key, $value); } } /** * {@inheritdoc} */ public function delete($key) { $this->deleteMultiple([$key]); } }