container_resolver
final class container_resolver implements method_argument_resolver_interface
| internal |
Container Resolver.
Resolves dependencies from the DI container by type-hint. Handles standard Service Injection.
Methods
__construct(ContainerInterface $container)
No description
bool
supports(ReflectionParameter $parameter)
Checks if the container can resolve the given parameter by type-hint.
mixed
resolve(ReflectionParameter $parameter, array $route_params)
Resolves the dependency from the container.
Details
at line 37
__construct(ContainerInterface $container)
No description
at line 48
bool
supports(ReflectionParameter $parameter)
Checks if the container can resolve the given parameter by type-hint.
at line 67
mixed
resolve(ReflectionParameter $parameter, array $route_params)
Resolves the dependency from the container.