ControllerDispatcher (Routing)
ControllerDispatcher
class ControllerDispatcher (View source)
Traits
RouteDependencyResolverTrait |
Methods
array | resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector) Resolve the given method's type-hinted dependencies. | from RouteDependencyResolverTrait |
void | __construct(Container $container) Create a new controller dispatcher instance. | |
mixed | dispatch(Route $route, mixed $controller, string $method) Dispatch a request to a given controller and method. | |
static array | getMiddleware(Controller $controller, string $method) Get the middleware for the controller instance. |
Details
array resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector)
Resolve the given method's type-hinted dependencies.
void __construct(Container $container)
Create a new controller dispatcher instance.
mixed dispatch(Route $route, mixed $controller, string $method)
Dispatch a request to a given controller and method.
static array getMiddleware(Controller $controller, string $method)
Get the middleware for the controller instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Routing/ControllerDispatcher.html