40 lines
866 B
YAML
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: []
|