ExecutionContextInterface deprecated::getMetadataFactory()

MetadataFactoryInterface getMetadataFactory() deprecated

deprecated

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

Returns the used metadata factory.

Return Value

MetadataFactoryInterface The metadata factory.
doc_Symfony
2016-10-28 06:15:52
Comments
Leave a Comment

Please login to continue.