interface ViolationMapperInterface

Methods

void
mapViolation(ConstraintViolation$violation,FormInterface$form,bool$allowNonSynchronized =false)

Maps a constraint violation to a form in the form tree under the given form.

Details

void mapViolation(ConstraintViolation$violation,FormInterface$form,bool$allowNonSynchronized =false)

Maps a constraint violation to a form in the form tree under the given form.

Parameters

ConstraintViolation $violation
FormInterface $form
bool $allowNonSynchronized

Return Value

void