ConstraintViolationBuilderInterface::setCode()

ConstraintViolationBuilderInterface setCode(string|null $code)

Sets the violation code.

Parameters

string|null $code The violation code

Return Value

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

Please login to continue.