mercredi 7 mars 2018

The different between Request and Array To obtain an instance HTTP Request ? - Laravel

Why some other people using Array instead Requestto obtained incoming Request instance.

Ex array: public function create(array $data)
Ex Request: public function create(Request $request)

So my question is.. is it different ? When to use Array or Request ? different between Array and Request ?



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

Aucun commentaire:

Enregistrer un commentaire