my function reads all route parameter in laravel code example
Example: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');