api/symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.yaml
2024-09-26 02:03:21 -07:00

40 lines
866 B
YAML

name: ViolationMapperInterface
class_comment: null
dependencies:
- name: FormInterface
type: class
source: Symfony\Component\Form\FormInterface
- name: ConstraintViolation
type: class
source: Symfony\Component\Validator\ConstraintViolation
properties: []
methods:
- name: mapViolation
visibility: public
parameters:
- name: violation
- name: form
- name: allowNonSynchronized
default: 'false'
comment: '# * @author Bernhard Schussek <bschussek@gmail.com>
# */
# interface ViolationMapperInterface
# {
# /**
# * Maps a constraint violation to a form in the form tree under
# * the given form.
# *
# * @param bool $allowNonSynchronized Whether to allow mapping to non-synchronized
forms'
traits:
- Symfony\Component\Form\FormInterface
- Symfony\Component\Validator\ConstraintViolation
interfaces: []