Validator\ViolationMapper\ViolationMapperInterface (Component\Form\Extension)
Symfony\Component\Form\Extension\Validator\ViolationMapper\ViolationMapperInterface
interface 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
public 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.0/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.html