public function set(string $key, $value, int $ttl = null)
    {
        $keyNormalized = $this->normalized($key);

        $result = static::$handler->set($keyNormalized, $value, $ttl ?? $this->ttl);

        if ($result) {
            if ($this->assistant) {
                $this->assistant->add($keyNormalized);
                $this->assistant->save();
            }
        }

        return $result;
    }