public function Validator::getMetadataFactory in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Validator.php \Symfony\Component\Validator\Validator::getMetadataFactory()
Returns the factory for metadata instances.
Return value
MetadataFactoryInterface The metadata factory.
Overrides ValidatorInterface::getMetadataFactory
Deprecated
since version 2.5, to be removed in 3.0. Use {@link Validator\ValidatorInterface::getMetadataFor()} or {@link Validator\ValidatorInterface::hasMetadataFor()} instead.
File
- vendor/
symfony/ validator/ Validator.php, line 73
Class
- Validator
- Default implementation of {@link ValidatorInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getMetadataFactory() {
return $this->metadataFactory;
}