Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route namespace and prefix

use AppModelsUser;

Route::get('/users/{user}', function (User $user) {
    return $user->email;
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #namespace #prefix
ADD COMMENT
Topic
Name
5+9 =