ControllerMiddlewareOptions

ControllerMiddlewareOptions

class ControllerMiddlewareOptions (View source)

Methods

void __construct(array $options)

Create a new middleware option instance.

$this only(array|string|dynamic $methods)

Set the controller methods the middleware should apply to.

$this except(array|string|dynamic $methods)

Set the controller methods the middleware should exclude.

doc_Laravel
2016-11-02 16:13:42
Comments
Leave a Comment

Please login to continue.