class DefaultValueResolver implements ArgumentValueResolverInterface
Yields the default value defined in the action signature when no value has been given.
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).
Please login to continue.