interface ViolationMapperInterface
|  mapViolation(ConstraintViolation $violation, FormInterface $form, bool $allowNonSynchronized = false)  Maps a constraint violation to a form in the form tree under the given form.  |  
Maps a constraint violation to a form in the form tree under the given form.
| ConstraintViolation | $violation | The violation to map | 
| FormInterface | $form | The root form of the tree to map it to | 
| bool | $allowNonSynchronized | Whether to allow mapping to non-synchronized forms | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    https://api.symfony.com/4.1/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.html