ControllerMiddlewareOptions
class ControllerMiddlewareOptions
Properties
| protected array | $options | The middleware options. |
Methods
__construct(array $options)
Create a new middleware option instance.
only(array|string $methods)
Set the controller methods the middleware should apply to.
except(array|string $methods)
Set the controller methods the middleware should exclude.
Details
at line 17
__construct(array $options)
Create a new middleware option instance.
at line 27
ControllerMiddlewareOptions
only(array|string $methods)
Set the controller methods the middleware should apply to.
at line 39
ControllerMiddlewareOptions
except(array|string $methods)
Set the controller methods the middleware should exclude.