public function ValidatorBuilderInterface::setConstraintValidatorFactory in Plug 7
Sets the constraint validator factory used by the validator.
Parameters
ConstraintValidatorFactoryInterface $validatorFactory The validator factory:
Return value
ValidatorBuilderInterface The builder object
1 method overrides ValidatorBuilderInterface::setConstraintValidatorFactory()
- ValidatorBuilder::setConstraintValidatorFactory in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php - Sets the constraint validator factory used by the validator.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilderInterface.php, line 139
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\ValidatorCode
public function setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory);