Validator calls
In
ValidationListener.php
line ():
No violations
if ($form->isRoot()) {// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.foreach ($this->validator->validate($form) as $violation) {// Allow the "invalid" constraint to be put onto// non-synchronized forms$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#1777 name: "contact" type_class: "App\Form\ContactType" data: App\Model\Mail {#1642 -fullName: "Polly Bahringer" -subject: "Incidunt enim repellat." -message: "I saw one of these in Sao Tome and Principe and I bought one." -email: "laresakortez23101991@outlook.com" -contact: "+1 (946) 789-5871" -attachment: null -template: "mail/contact_message.html.twig" } } "constraints" => null "groups" => null ]