I'm starting to use Laravel and I would like to know how I should choose one over the other.
As of version 5.0 Laravel documentation changed request example from Request::get('form_input')
to $request->get('form_input')
, but I couldn't find any explanation as for why they've done that.
My doubts are:
- Is there any difference between those
Requests
? - Whare are they?
- What's the most prefered?