ViolationMapper
ViolationMapper
class ViolationMapper implements ViolationMapperInterface
Methods
mapViolation(ConstraintViolation $violation, FormInterface $form, bool $allowNonSynchronized = false) Maps a constraint violation to a form in the form tree under the given form. |
Details
mapViolation(ConstraintViolation $violation, FormInterface $form, bool $allowNonSynchronized = false)
Maps a constraint violation to a form in the form tree under the given form.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapper.html