interface Illuminate / Routing / Contracts / ControllerDispatcher
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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