src/Leevel/Http/Cookie.php
public function clear(array $option = []): void
    {
        $option = $this->normalizeOptions($option);

        foreach ($this->cookies as $key => $val) {
            $this->delete($key, $option);
        }
    }
public function clear(array $option = []): void
    {
        $option = $this->normalizeOptions($option);

        foreach ($this->cookies as $key => $val) {
            $this->delete($key, $option);
        }
    }
清空 cookie.

@param array $option