You are here

public function ValidatorBuilderInterface::setConstraintValidatorFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::setConstraintValidatorFactory()

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 vendor/symfony/validator/ValidatorBuilder.php
Sets the constraint validator factory used by the validator.

File

vendor/symfony/validator/ValidatorBuilderInterface.php, line 139

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory);