ValidatorBuilderInterface
setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory)
Sets the constraint validator factory used by the validator.
Parameters ConstraintValidatorFactoryInterface $validatorFactory The validator factory Return Value ValidatorBuilderInterface The builder object