class ServiceValueResolver implements ArgumentValueResolverInterface

Yields a service keyed by _controller and argument name.

Methods

__construct(ContainerInterface $container)

No description

bool
supports(Request $request, ArgumentMetadata $argument)

Whether this resolver can resolve the value for the given ArgumentMetadata.

resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Details

at line line 28
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line line 36
bool supports(Request $request, ArgumentMetadata $argument)

Whether this resolver can resolve the value for the given ArgumentMetadata.

Parameters

Request $request
ArgumentMetadata $argument

Return Value

bool

at line line 56
Generator resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Parameters

Request $request
ArgumentMetadata $argument

Return Value

Generator