I often see examples where gets data using Input::all()
or request()->all()
or
instanse of Request $request->all()
.
What is difference between of these?
Where does need to use Input and where does need to use Request?
What is the best practice? Somebody can explain it?