public function hset($collection, $key, $field, $value) { $set = $this->getKey($collection, $key, []); $set[$field] = $value; $this->setKey($collection, $key, $set); }