src/Leevel/Http/Bag.php
public function set(string $key, $value): void
    {
        $key = $this->normalize($key);

        $this->elements[$key] = $value;
    }
public function set(string $key, $value): void
    {
        $key = $this->normalize($key);

        $this->elements[$key] = $value;
    }
设置元素值

@param string $key
@param mixed  $value