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

Parameters

ContainerInterface $container

at line 48
bool supports(ReflectionParameter $parameter)

Checks if the container can resolve the given parameter by type-hint.

Parameters

ReflectionParameter $parameter

Return Value

bool

at line 67
mixed resolve(ReflectionParameter $parameter, array $route_params)

Resolves the dependency from the container.

Parameters

ReflectionParameter $parameter
array $route_params

Return Value

mixed