src/BTR/RedisObjects/RedisHash.php
public function set($field, $value): int
    {
        return $this->redis->hset($this->key, $field, $this->serialize($value));
    }
public function set($field, $value): int
    {
        return $this->redis->hset($this->key, $field, $this->serialize($value));
    }
@param int|string $field Selected field in which the $value will be set.
@param mixed      $value Value that will be set in $field.

@return int self::RESPONSE_HASH_SET_FIELD_NEW  if field is a new field in the hash and value was set.
self::RESPONSE_HASH_SET_FIELD_EXISTING  if field already exists in the hash and the value was
updated.