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

        if ($this->has($key)) {
            unset($this->elements[$key]);
        }
    }
public function remove(string $key): void
    {
        $key = $this->normalize($key);

        if ($this->has($key)) {
            unset($this->elements[$key]);
        }
    }
删除元素值

@param string $key