laravel 8 route bind code example
Example: laravel 8 route
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');