Is it possible to execute multiple functions in the same controller with one route. I thought it would be something like this but it doesn't work.
Route::get('getdata','controller@getData', 'controller@getData1', 'controller@getData2');
In the controller are these functions:
- getData
- getData1
- getData2
Or is there a easier way?