code: public function expire($seconds, bool $milliseconds = false): bool
      {
          if ($milliseconds) {
              $return = $this->redis->pexpire($this->key, $seconds);
          } else {
              $return = $this->redis->expire($this->key, $seconds);
          }
  
          return $return === self::RESPONSE_SUCCESS;
      }
docs: @param int  $seconds      Time interval in seconds or milliseconds when this key/object should expire.
  
  @param bool $milliseconds If set to true, $seconds are interpreted as milliseconds.
  
  @return bool True on success. False otherwise.