class TypeValidator extends ChoiceValidator

Validator against TypeConstraint.

Methods

validate(mixed $value, Constraint $constraint)

Validate against {see TypeConstraint}.

Details

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

Validate against {see TypeConstraint}.

Parameters

mixed $value Validated value
Constraint $constraint Used constraint