ConstraintViolationBuilderInterface setPlural(int $number)
Sets the number which determines how the plural form of the violation message is chosen when it is translated.
ConstraintViolationBuilderInterface setPlural(int $number)
Sets the number which determines how the plural form of the violation message is chosen when it is translated.
int | $number | The number for determining the plural form |
ConstraintViolationBuilderInterface | This builder |
\Symfony\Component\Translation\TranslatorInterface::transChoice() |
Designed by : w10schools
service@w10schools.com
Please login to continue.