Controller (Routing)

Controller

class Controller (View source)

Methods

ControllerMiddlewareOptions middleware( array|string $middleware, array $options = array())

Register middleware on the controller.

array getMiddleware()

Get the middleware assigned to the controller.

s