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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.