You are here

public function ValidationVisitor::getMetadataFactory in Plug 7

Returns the factory for validation metadata objects.

Return value

MetadataFactoryInterface The metadata factory.

Overrides GlobalExecutionContextInterface::getMetadataFactory

File

lib/Symfony/validator/Symfony/Component/Validator/ValidationVisitor.php, line 206

Class

ValidationVisitor
Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

public function getMetadataFactory() {
  return $this->metadataFactory;
}