class AmountValidator extends ConstraintValidator

Validator against AmountConstraint.

Methods

validate(mixed $value, Constraint $constraint)

Validate against {see AmountConstraint}.

Details

at line 26
validate(mixed $value, Constraint $constraint)

Validate against {see AmountConstraint}.

Parameters

mixed $value Validated value
Constraint $constraint Used constraint