src/Leevel/Http/Cookie.php
public function put($keys, $value = null, array $option = []): void
    {
        if (!is_array($keys)) {
            $keys = [
                $keys => $value,
            ];
        }

        foreach ($keys as $key => $value) {
            $this->set($key, $value, $option);
        }
    }
public function put($keys, $value = null, array $option = []): void
    {
        if (!is_array($keys)) {
            $keys = [
                $keys => $value,
            ];
        }

        foreach ($keys as $key => $value) {
            $this->set($key, $value, $option);
        }
    }
批量插入.

@param array|string $keys
@param mixed        $value
@param array        $option