class ChoiceValidator extendsConstraintValidator

ChoiceValidator validates that the value is one of the expected values.

Methods

void
validate(mixed$value,Constraint$constraint)

No description

Details

void validate(mixed$value,Constraint$constraint)

Parameters

mixed $value
Constraint $constraint

Return Value

void