public function setDefaultTtl($ttl)
    {
        if (!is_numeric($ttl)) {
            throw new InvalidArgumentException(
                'TTL must be an integer (seconds)'
            );
        }

        $this->defaultTtl = intval($ttl);
        return $this;
    }