public function setRequest(Request $request)
    {
        $this->request = $request;

        $this->input = $request->request->all() + $request->query->all();
    }
public function setRequest(Request $request)
    {
        $this->request = $request;

        $this->input = $request->request->all() + $request->query->all();
    }
public function setRequest ( Request $ request ) { $ this -> request = $ request ; $ this -> input = $ request -> request -> all ( ) + $ request -> query -> all ( ) ; }
Set the request being handled.

@param \Symfony\Component\HttpFoundation\Request $request
@return void
Set the request being handled .