class
Illuminate
/
Routing
/
ControllerDispatcher
ControllerDispatcher
Implements
Uses
Properties
Methods
public
__construct ( Container $container ) : void
Create a new controller dispatcher instance.
Parameters
- $container Container
public
dispatch ( Route $route , $controller , $method ) : mixed
Dispatch a request to a given controller and method.
Parameters
- $route Route
- $controller mixed
- $method string
protected
resolveParameters ( Route $route , $controller , $method ) : array
Resolve the parameters for the controller.
Parameters
- $route Route
- $controller mixed
- $method string
public
getMiddleware ( $controller , $method ) : array
Get the middleware for the controller instance.
Parameters
- $controller Controller
- $method string