src/Leevel/Http/ResponseHeaderBag.php
public function setCookie(string $name, string $value = '', array $option = []): void
    {
        $this->cookie->set($name, $value, $option);
    }
public function setCookie(string $name, string $value = '', array $option = []): void
    {
        $this->cookie->set($name, $value, $option);
    }
设置 COOKIE.

@param string $name
@param string $value
@param array  $option