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 {#1982 name: "template" type_class: "App\Form\Gestiform\Admin\Template\TemplateType" data: App\Entity\Gestiform\Admin\ModelsDocument\Template {#1713 #id: 366 #createdAt: DateTime @1752229349 {#2389 date: 2025-07-11 12:22:29.443810 Europe/Zurich (+02:00) } #updatedAt: DateTime @1752229349 {#2411 date: 2025-07-11 12:22:29.443786 Europe/Zurich (+02:00) } -createdBy: App\Entity\Gestiform\Users\Employe {#1181 …} -updatedBy: App\Entity\Gestiform\Users\Employe {#1181 …} #archive: false -intitule: null -title: null -code: "email_confirmation_rdv_tuteur_entreprise_alternant" -description: null -conseilRegional: null -avecEntete: true -specifique: true -codeSpecifique: null -subtitle: null -content: null -defaultTemplate: null -signe: null -categorie: null -societe: null -type: App\Entity\Gestiform\Admin\MasterListe\Masterlistelg {#1737 …} -usage: null -diffusionsMotCle: Doctrine\ORM\PersistentCollection {#2365 …} -diffusions: Doctrine\ORM\PersistentCollection {#2053 …} -diffusionsSignature: Doctrine\ORM\PersistentCollection {#1999 …} -templates: Doctrine\ORM\PersistentCollection {#2366 …} -typeFormations: Doctrine\ORM\PersistentCollection {#2002 …} -attachments: Doctrine\ORM\PersistentCollection {#2023 …} -apiGestiform: null } } "constraints" => null "groups" => null ]