interface
Illuminate
/
Routing
/
Contracts
/
ControllerDispatcher
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ControllerDispatcher
Methods
public
dispatch ( Route $route , $controller , $method ) : mixed
Dispatch a request to a given controller and method.
Parameters
- $route Route
- $controller mixed
- $method string
public
getMiddleware ( $controller , $method ) : array
Get the middleware for the controller instance.
Parameters
- $controller Controller
- $method string