W3cubDocs

/Laravel 4.2

ControllerDispatcher

class ControllerDispatcher (View source)

Methods

void __construct(RouteFiltererInterface $filterer, Container $container = null)

Create a new controller dispatcher instance.

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

Dispatch a request to a given controller and method.

Details

void __construct(RouteFiltererInterface $filterer, Container $container = null)

Create a new controller dispatcher instance.

Parameters

RouteFiltererInterface $filterer
Container $container

Return Value

void

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

Dispatch a request to a given controller and method.

Parameters

Route $route
Request $request
string $controller
string $method

Return Value

mixed

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