public function setMultiple($values, $ttl = null)
    {
        \WildWolf\Cache\Validator::validateIterable($values);
        \WildWolf\Cache\Validator::validateTtl($ttl);

        $result = true;
        foreach ($values as $key => $value) {
            if (is_int($key)) {
                $key = (string)$key;
            }

            $result = $this->set($key, $value, $ttl) && $result;
        }

        return $result;
    }