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
doc_Symfony
2016-10-28 06:11:38
Comments
Leave a Comment

Please login to continue.