we can extend route type in Laravel ?? code example
Example: laravel route
# Using Request
Route::get('user/{name}', function (Request $request) {
return $request->route('name');
});
# Using Request
Route::get('user/{name}', function (Request $request) {
return $request->route('name');
});