class
Illuminate
/
Routing
/
Controller
abstract
Controller
Properties
protected
$middleware array
The middleware registered on the controller.
Default: []
Methods
public
middleware ( $middleware , array $options ) : ControllerMiddlewareOptions
Register middleware on the controller.
Parameters
- $middleware Closure |array|string
- $options array
public
getMiddleware ( ) : array
Get the middleware assigned to the controller.
public
callAction ( $method , $parameters ) : Symfony\...\Response
Execute an action on the controller.
Parameters
- $method string
- $parameters array
public
__call ( $method , $parameters ) : mixed
Handle calls to missing methods on the controller.
Parameters
- $method string
- $parameters array