ValidatorBuilderInterface::setTranslator()

ValidatorBuilderInterface setTranslator(TranslatorInterface $translator)

Sets the translator used for translating violation messages.

Parameters

TranslatorInterface $translator The translator instance

Return Value

ValidatorBuilderInterface The builder object
doc_Symfony
2016-10-28 06:36:47
Comments
Leave a Comment

Please login to continue.