lundi 19 septembre 2016

Laravel Change output of the view in controller

I need to change all @ in my parts of static and dynamic in view to [at]. So I have :

return view('myview')->with('items',Model::all());

When I try this my result is String :

return ChangeSymbols(view('myview')->with('items',Model::all()));

whats best way to change output of view in controller o any where .



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire