Sometimes we need to accept route params as well as access the HTTP Request params. We can still type hint the Requests class in laravel controller and achieve that as explained below
E.g. We have a route that update a certain post like this (passing post id i route )
Route::put('post/{id}', 'PostController@update');
Also since user have edited other edit form fields, so that will be available in HTTP Request
Here is how to access both in our method
public function update(Request $request,$id){ //This way we have $id param from route and $request as an HTTP Request object }