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 {#2122 name: "ricerca" type_class: "App\Form\RicercaType" data: [ "classe" => App\Entity\Classe {#1898 -id: 16 -creato: DateTime @1757930605 {#1888 date: 2025-09-15 12:03:25.0 Europe/Rome (+02:00) } -modificato: DateTime @1780565084 {#1897 date: 2026-06-04 11:24:44.0 Europe/Rome (+02:00) } -anno: 5 -sezione: "B" -gruppo: null -oreSettimanali: 32 -sede: Proxies\__CG__\App\Entity\Sede {#1665 …} -corso: Proxies\__CG__\App\Entity\Corso {#1746 …} -coordinatore: App\Entity\Docente {#1908 …} -segretario: null -orario: null } "cognome" => null "nome" => null ] } "constraints" => null "groups" => null ]