interface HasMiddleware (View source)

Methods

static Middleware|Closure|string>
middleware()

Get the middleware that should be assigned to the controller.

Details

static Middleware|Closure|string> middleware()

Get the middleware that should be assigned to the controller.

Return Value

Middleware|Closure|string>