interface Illuminate / Routing / Contracts / ControllerDispatcher

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