ConstraintViolationBuilderInterface::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 See also \Symfony\Component\Translation\TranslatorInterface::transChoice()

2016-10-28 06:11:39
ConstraintViolationBuilderInterface::addViolation()

addViolation() Adds the violation to the current execution context.

2016-10-28 06:11:37
ConstraintViolationBuilderInterface::setInvalidValue()

ConstraintViolationBuilderInterface setInvalidValue(mixed $invalidValue) Sets the invalid value that caused this violation. Parameters mixed $invalidValue The invalid value Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:38
ConstraintViolationBuilderInterface::setParameters()

ConstraintViolationBuilderInterface setParameters(array $parameters) Sets all parameters to be inserted into the violation message. Parameters array $parameters An array with the parameter names as keys and the values to be inserted in their place as values Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:39
ConstraintViolationBuilderInterface::setParameter()

ConstraintViolationBuilderInterface setParameter(string $key, string $value) Sets a parameter to be inserted into the violation message. Parameters string $key The name of the parameter string $value The value to be inserted in the parameter's place Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:38
LegacyConstraintViolationBuilder deprecated

class LegacyConstraintViolationBuilder implements

2016-10-28 06:22:33
ConstraintViolationBuilder::setCause()

ConstraintViolationBuilderInterface setCause(mixed $cause) Sets the cause of the violation. Parameters mixed $cause The cause of the violation Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:35
ConstraintViolationBuilder::addViolation()

addViolation() Adds the violation to the current execution context.

2016-10-28 06:11:35
ConstraintViolationBuilder::setTranslationDomain()

ConstraintViolationBuilderInterface setTranslationDomain(string $translationDomain) Sets the translation domain which should be used for translating the violation message. Parameters string $translationDomain The translation domain Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:36
ConstraintViolationBuilder::setParameter()

ConstraintViolationBuilderInterface setParameter(string $key, string $value) Sets a parameter to be inserted into the violation message. Parameters string $key The name of the parameter string $value The value to be inserted in the parameter's place Return Value ConstraintViolationBuilderInterface This builder

2016-10-28 06:11:36