Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

defining route through controller

use AppHttpControllersUserController;
 
Route::get('/user', [UserController::class, 'index']);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #defining #route #controller
ADD COMMENT
Topic
Name
1+3 =