ControllerDispatcher
interface ControllerDispatcher (View source)
Methods
mixed
array
getMiddleware(Controller $controller, string $method)
Get the middleware for the controller instance.
Details
mixed
dispatch(Route $route, mixed $controller, string $method)
Dispatch a request to a given controller and method.
array
getMiddleware(Controller $controller, string $method)
Get the middleware for the controller instance.