You are here

public function GlobalExecutionContextInterface::getMetadataFactory in Zircon Profile 8

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

Returns the factory for validation metadata objects.

Return value

MetadataFactoryInterface The metadata factory.

2 methods override GlobalExecutionContextInterface::getMetadataFactory()
StubGlobalExecutionContext::getMetadataFactory in vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php
Returns the factory for validation metadata objects.
ValidationVisitor::getMetadataFactory in vendor/symfony/validator/ValidationVisitor.php
Returns the factory for validation metadata objects.

File

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

Class

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

Namespace

Symfony\Component\Validator

Code

public function getMetadataFactory();