You are here

public function ValidatorInterface::getMetadataFactory in Zircon Profile 8

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

Returns the factory for metadata instances.

Return value

MetadataFactoryInterface The metadata factory.

Deprecated

since version 2.5, to be removed in 3.0. Use {@link Validator\ValidatorInterface::getMetadataFor()} or {@link Validator\ValidatorInterface::hasMetadataFor()} instead.

2 methods override ValidatorInterface::getMetadataFactory()
RecursiveValidator::getMetadataFactory in vendor/symfony/validator/Validator/RecursiveValidator.php
Returns the factory for metadata instances.
Validator::getMetadataFactory in vendor/symfony/validator/Validator.php
Returns the factory for metadata instances.

File

vendor/symfony/validator/ValidatorInterface.php, line 102

Class

ValidatorInterface
Validates values and graphs of objects and arrays.

Namespace

Symfony\Component\Validator

Code

public function getMetadataFactory();