mediatekformation

ViolationMapper
in package
implements ViolationMapperInterface

Tags
author

Bernhard Schussek bschussek@gmail.com

Interfaces, Classes, Traits and Enums

ViolationMapperInterface

Table of Contents

$allowNonSynchronized  : bool
mapViolation()  : mixed
Maps a constraint violation to a form in the form tree under the given form.
acceptsErrors()  : bool
matchChild()  : FormInterface|null
Tries to match the beginning of the property path at the current position against the children of the scope.
reconstructPath()  : RelativePath|null
Reconstructs a property path from a violation path and a form tree.

Properties

Methods

mapViolation()

Maps a constraint violation to a form in the form tree under the given form.

public mapViolation(ConstraintViolation $violation, FormInterface $form[, mixed $allowNonSynchronized = false ]) : mixed
Parameters
$violation : ConstraintViolation
$form : FormInterface
$allowNonSynchronized : mixed = false

Whether to allow mapping to non-synchronized forms

Return values
mixed

Search results