Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

naming the routes in laravel

Route::get('/', [ControllerName::class, 'index'])->name('homeRoute');
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #naming #routes #laravel
ADD COMMENT
Topic
Name
6+9 =