You are here

public function GlobalExecutionContextInterface::getValidatorFactory in Zircon Profile 8

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

Returns the factory for constraint validators.

Return value

ConstraintValidatorFactoryInterface The constraint validator factory.

2 methods override GlobalExecutionContextInterface::getValidatorFactory()
StubGlobalExecutionContext::getValidatorFactory in vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php
Returns the factory for constraint validators.
ValidationVisitor::getValidatorFactory in vendor/symfony/validator/ValidationVisitor.php
Returns the factory for constraint validators.

File

vendor/symfony/validator/GlobalExecutionContextInterface.php, line 63

Class

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

Namespace

Symfony\Component\Validator

Code

public function getValidatorFactory();