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