You are here

private function Validator::createVisitor in Plug 7

Parameters

mixed $root:

Return value

ValidationVisitor

4 calls to Validator::createVisitor()
Validator::validate in lib/Symfony/validator/Symfony/Component/Validator/Validator.php
Validates a value.
Validator::validateProperty in lib/Symfony/validator/Symfony/Component/Validator/Validator.php
Validator::validatePropertyValue in lib/Symfony/validator/Symfony/Component/Validator/Validator.php
Validator::validateValue in lib/Symfony/validator/Symfony/Component/Validator/Validator.php
Validates a value against a constraint or a list of constraints.

File

lib/Symfony/validator/Symfony/Component/Validator/Validator.php, line 214

Class

Validator
Default implementation of {@link ValidatorInterface}.

Namespace

Symfony\Component\Validator

Code

private function createVisitor($root) {
  return new ValidationVisitor($root, $this->metadataFactory, $this->validatorFactory, $this->translator, $this->translationDomain, $this->objectInitializers);
}