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

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

@return $this