class ErrorCodeValidator extends ChoiceValidator

Validator against ErrorCode.

Methods

validate(mixed $value, Constraint $constraint)

Validate against {see ErrorCodeConstraint}.

Details

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

Validate against {see ErrorCodeConstraint}.

Parameters

mixed $value Validated value
Constraint $constraint Used constraint