interface ControllerDispatcher

Methods

mixed
dispatch(Route $route, mixed $controller, string $method)

Dispatch a request to a given controller and method.

array
getMiddleware(mixed $controller, string $method)

Get the middleware for the controller instance.

Details

at line 14
mixed dispatch(Route $route, mixed $controller, string $method)

Dispatch a request to a given controller and method.

Parameters

Route $route
mixed $controller
string $method

Return Value

mixed

at line 19
array getMiddleware(mixed $controller, string $method)

Get the middleware for the controller instance.

Parameters

mixed $controller
string $method

Return Value

array