ControllerDispatcher
class ControllerDispatcher (View source)
Traits
Methods
array
resolveMethodDependencies(
array $parameters,
ReflectionFunctionAbstract $reflector)
Resolve the given method's type-hinted dependencies.
void
__construct(
Router $router,
Container $container = null)
Create a new controller dispatcher instance.
mixed
array
getMiddleware(
Controller $instance,
string $method)
Get the middleware for the controller instance.
bool
methodExcludedByOptions(
string $method,
array $options)
Determine if the given options exclude a particular method.
Details
in RouteDependencyResolverTrait at line line 52
array
resolveMethodDependencies(
array $parameters,
ReflectionFunctionAbstract $reflector)
Resolve the given method's type-hinted dependencies.
at line line 34
void
__construct(
Router $router,
Container $container = null)
Create a new controller dispatcher instance.
at line line 50
mixed
dispatch(
Route $route,
Request $request,
string $controller,
string $method)
Dispatch a request to a given controller and method.
at line line 106
array
getMiddleware(
Controller $instance,
string $method)
Get the middleware for the controller instance.
at line line 126
bool
methodExcludedByOptions(
string $method,
array $options)
Determine if the given options exclude a particular method.