src/Leevel/Http/ResponseHeaderBag.php
public function withCookies(array $cookies, array $option = []): void
    {
        foreach ($cookies as $key => $value) {
            $this->setCookie($key, $value, $option);
        }
    }
public function withCookies(array $cookies, array $option = []): void
    {
        foreach ($cookies as $key => $value) {
            $this->setCookie($key, $value, $option);
        }
    }
批量设置 COOKIE.

@param array $cookies
@param array $option