You are here

public function ValidationVisitor::getMetadataFactory in Zircon Profile 8

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

Returns the factory for validation metadata objects.

Return value

MetadataFactoryInterface The metadata factory.

Overrides GlobalExecutionContextInterface::getMetadataFactory

File

vendor/symfony/validator/ValidationVisitor.php, line 208

Class

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

Namespace

Symfony\Component\Validator

Code

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