VariadicValueResolver

class VariadicValueResolver implements ArgumentValueResolverInterface

Yields a variadic argument's values from the request attributes.

Methods

bool supports(Request $request, ArgumentMetadata $argument)

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

Generator resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Details

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

Generator resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Parameters

Request $request
ArgumentMetadata $argument

Return Value

Generator
doc_Symfony
2016-10-28 06:37:03
Comments
Leave a Comment

Please login to continue.