public function set($name, $value, $minutes = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)
    {
        $expire = ($minutes == 0) ? 0 : time() + ($minutes * 60);

        $cookie = new Cookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);

        $this->cookies[$name] = $cookie;

        return $this;
    }