interface Illuminate / Routing / Controllers / HasMiddleware
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

HasMiddleware

Methods

public static

middleware ( ) : Middleware |array

Get the middleware that should be assigned to the controller.