ConstraintViolationBuilder::setPlural()

ConstraintViolationBuilderInterface setPlural(int $number)

Sets the number which determines how the plural form of the violation message is chosen when it is translated.

Parameters

int $number The number for determining the plural form

Return Value

ConstraintViolationBuilderInterface This builder
doc_Symfony
2016-10-28 06:11:36
Comments
Leave a Comment

Please login to continue.