class
Illuminate
/
Routing
/
ControllerDispatcher
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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
public
getMiddleware ( $controller , $method ) : array
Get the middleware for the controller instance.
Parameters
- $controller Controller
- $method string
protected
static
methodExcludedByOptions ( $method , array $options ) : bool
Determine if the given options exclude a particular method.
Parameters
- $method string
- $options array