You are here

public function ValidationVisitor::getValidatorFactory in Plug 7

Returns the factory for constraint validators.

Return value

ConstraintValidatorFactoryInterface The constraint validator factory.

Overrides GlobalExecutionContextInterface::getValidatorFactory

File

lib/Symfony/validator/Symfony/Component/Validator/ValidationVisitor.php, line 198

Class

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

Namespace

Symfony\Component\Validator

Code

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