VariadicValueResolver
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.
Generator resolve(Request $request, ArgumentMetadata $argument)
Returns the possible value(s).
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/HttpKernel/Controller/ArgumentResolver/VariadicValueResolver.html