mardi 25 août 2020

How to pass cookie while returning a view from controller in Laravel 7.x?

In laravel 7.x is there any way to pass the cookie to the client while returning view?

Similar to like:

return view("welcome")->cookie('name','value',$min);

Aucun commentaire:

Enregistrer un commentaire