I would like to get a route value by its name and store it in a variable.
The reason being, I would like to use the Redirect::intended($url) method to redirect the user to a route instead of just putting the url there.
Basically, I would like to have the same behavior as with Redirect::route($route_name) but with the intended() function.
Is there a method like Route::getValueByName() ?
Thank you very much.