vendredi 10 février 2017

Difference between Request (Facade) and Illuminate\Http\Request

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?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lvVEjt
via IFTTT

Aucun commentaire:

Enregistrer un commentaire