class Illuminate / Routing / ControllerDispatcher
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ControllerDispatcher

Implements

Uses

Properties

protected

$container Container

The container instance.

Default: null

Methods

public

__construct ( Container $container ) : void

Create a new controller dispatcher instance.

Parameters

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