You are here

public function GlobalExecutionContextInterface::getValidatorFactory in Plug 7

Returns the factory for constraint validators.

Return value

ConstraintValidatorFactoryInterface The constraint validator factory.

2 methods override GlobalExecutionContextInterface::getValidatorFactory()
StubGlobalExecutionContext::getValidatorFactory in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/StubGlobalExecutionContext.php
Returns the factory for constraint validators.
ValidationVisitor::getValidatorFactory in lib/Symfony/validator/Symfony/Component/Validator/ValidationVisitor.php
Returns the factory for constraint validators.

File

lib/Symfony/validator/Symfony/Component/Validator/GlobalExecutionContextInterface.php, line 63

Class

GlobalExecutionContextInterface
Stores the node-independent state of a validation run.

Namespace

Symfony\Component\Validator

Code

public function getValidatorFactory();