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

Please login to continue.