protected function processInput()
    {
        if (empty($this->input)) {
            $this->input = request()->except('_token');

            if ($this->injectUserId) {
                $this->input['user_id'] = Auth::user()->id;
            }
        }
        $this->sanitize();
        request()->replace($this->input); // @todo IS THIS NECESSARY?
    }
protected function processInput()
    {
        if (empty($this->input)) {
            $this->input = request()->except('_token');

            if ($this->injectUserId) {
                $this->input['user_id'] = Auth::user()->id;
            }
        }
        $this->sanitize();
        request()->replace($this->input); // @todo IS THIS NECESSARY?
    }
protected function processInput ( ) { if ( empty ( $ this -> input ) ) { $ this -> input = request ( ) -> except ( '_token' ) ; if ( $ this -> injectUserId ) { $ this -> input [ 'user_id' ] = Auth :: user ( ) -> id ; } } $ this -> sanitize ( ) ; request ( ) -> replace ( $ this -> input ) ; // @todo IS THIS NECESSARY? }
Retrieve, sanitize, and update the user input.
Retrieve sanitize and update the user input .