public function ValidatorBuilderInterface::setMetadataFactory in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::setMetadataFactory()
Sets the class metadata factory used by the validator.
Parameters
MetadataFactoryInterface $metadataFactory The metadata factory:
Return value
ValidatorBuilderInterface The builder object
1 method overrides ValidatorBuilderInterface::setMetadataFactory()
- ValidatorBuilder::setMetadataFactory in vendor/
symfony/ validator/ ValidatorBuilder.php - Sets the class metadata factory used by the validator.
File
- vendor/
symfony/ validator/ ValidatorBuilderInterface.php, line 121
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\ValidatorCode
public function setMetadataFactory(MetadataFactoryInterface $metadataFactory);