I have this route:
Route::get('/test',['as'=>'test','custom_key'=>'custom_value','uses'=>'TestController@index'])
I've been tried to use $routeProfile=route('test');
But the result is returned url string http://domain.app/test
I need ['as'=>'test','custom_key'=>'custom_value']
so that I can get the $routeProfile['custom_key']
How can I get 'custom_value' based on route name ?
For fastest way, now I use this for my question:
If there's any better answer, I will be appreciate it. Thanks...