class ControllerDispatcher implements ControllerDispatcher (View source)
RouteDependencyResolverTrait |
protected Container | $container | The container instance. |
array | resolveClassMethodDependencies(array $parameters, object $instance, string $method) Resolve the object method's type-hinted dependencies. | from RouteDependencyResolverTrait |
array | resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector) Resolve the given method's type-hinted dependencies. | from RouteDependencyResolverTrait |
mixed | transformDependency(ReflectionParameter $parameter, array $parameters, object $skippableValue) Attempt to transform the given parameter into a class instance. | from RouteDependencyResolverTrait |
bool | alreadyInParameters(string $class, array $parameters) Determine if an object of the given class is in a list of parameters. | from RouteDependencyResolverTrait |
void | spliceIntoParameters(array $parameters, string $offset, mixed $value) Splice the given value into the parameter list. | 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. | |
array | getMiddleware(Controller $controller, string $method) Get the middleware for the controller instance. | |
static bool | methodExcludedByOptions(string $method, array $options) Determine if the given options exclude a particular method. |
Resolve the object method's type-hinted dependencies.
Resolve the given method's type-hinted dependencies.
Attempt to transform the given parameter into a class instance.
Determine if an object of the given class is in a list of parameters.
Splice the given value into the parameter list.
Create a new controller dispatcher instance.
Dispatch a request to a given controller and method.
Get the middleware for the controller instance.
Determine if the given options exclude a particular method.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Routing/ControllerDispatcher.html