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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.