You are here

public function ValidationVisitor::getValidatorFactory in Zircon Profile 8

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

Returns the factory for constraint validators.

Return value

ConstraintValidatorFactoryInterface The constraint validator factory.

Overrides GlobalExecutionContextInterface::getValidatorFactory

File

vendor/symfony/validator/ValidationVisitor.php, line 200

Class

ValidationVisitor
Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

public function getValidatorFactory() {
  return $this->validatorFactory;
}