Home »
MCQs »
Laravel MCQs
Which of following property is used to register route specific middleware?
37. Which of following property is used to register route specific middleware?
- $global
- $route
- $middleware
- $routemiddleware
Answer: D) $routemiddleware
Explanation:
$routemiddleware property is used to register route specific middleware.