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 {#1226 name: "contact" type_class: "App\Form\ContactType" data: App\Entity\Contact {#837 -id: null -nom: "Beaconxfs" -prenom: "Beaconxfs" -email: "ballpointmf1@gmail.com" -tel: "84295889697" -sujet: null -message: null -date: DateTime @1774735039 {#1302 date: 2026-03-28 22:57:19.958771 Africa/Porto-Novo (+01:00) } } } "constraints" => null "groups" => null ]