src/Http/Response.php
private function sendCookie()
    {
        if (!empty($this->cookie)) {
            foreach ($this->cookie as $cookie) {
                call_user_func_array('setcookie', $cookie);
            }
        }

        return $this;
    }
private function sendCookie()
    {
        if (!empty($this->cookie)) {
            foreach ($this->cookie as $cookie) {
                call_user_func_array('setcookie', $cookie);
            }
        }

        return $this;
    }
发送cookie

@return $this