src/Leevel/Http/RedirectResponse.php
public function withInput(?array $input = null): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $input = $input ?: $this->request->input();

        $inputs = array_merge($this->session->getFlash('inputs', []), $input);

        $this->session->flash('inputs', $inputs);

        return $this;
    }
public function withInput(?array $input = null): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $input = $input ?: $this->request->input();

        $inputs = array_merge($this->session->getFlash('inputs', []), $input);

        $this->session->flash('inputs', $inputs);

        return $this;
    }
闪存输入信息.

@param null|array $input

@return $this