Blog
Packages & Docs
Quizzes
Resources
Me
Search Blog & Packages
Login
GitHub
GitHub
Blog
Packages & Docs
Quizzes
Resources
Me
Quiz Question Issue
Quiz Question Issue
Use this form to report an issue with a question on a quiz.
Question Information
Topic
Laravel
Question
Which one of the following middleware assignments to routes is incorrect?
Does this have to do with a specific option?
(Some options might not display correctly in a select box.)
Select Option (Optional)...
Route::get('/profile', function () { // })->setMiddleware('auth');
Route::get('/profile', function () { // })->middleware('auth');
Route::get('/', function () { // })->middleware(['first', 'second']);
Route::get('/profile', function () { // })->middleware(EnsureTokenIsValid::class);
Issue
Your E-mail (Optional)
Send