interface HasMiddleware (View source)
| static Middleware[] | middleware()
Get the middleware that should be assigned to the controller. |
Get the middleware that should be assigned to the controller.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Routing/Controllers/HasMiddleware.html