vendredi 23 septembre 2016

Custom functions in Route laravel

I have written a few functions in home controller. Lets say the function is called data(); My route function looks like this :

Route::get('/example', function(){

"I want to use data() function/method here, is this possible ?"

});



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire