You are here

public function GlobalExecutionContextInterface::getMetadataFactory in Plug 7

Returns the factory for validation metadata objects.

Return value

MetadataFactoryInterface The metadata factory.

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

File

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

Class

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

Namespace

Symfony\Component\Validator

Code

public function getMetadataFactory();