ControllerDispatcher

interface ControllerDispatcher (View source)

Methods

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.

Details

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

array getMiddleware(Controller $controller, string $method)

Get the middleware for the controller instance.

Parameters

Controller $controller
string $method

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Routing/Contracts/ControllerDispatcher.html