On this page
HasMiddleware
interface HasMiddleware (View source)
Methods
static Middleware|array | middleware() Get the middleware that should be assigned to the controller. |
Details
static Middleware|array middleware()
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/10.x/Illuminate/Routing/Controllers/HasMiddleware.html