Validator calls
In
ValidationListener.php
line 46 (context):
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 {#2205 name: "prechild" type_class: "App\Form\PrechildType" data: App\Entity\Prechild {#1745 -id: Symfony\Component\Uid\Ulid {#2814 …} -first_name: "Mohammed said" -last_name: "Sitouah" -gender: "Garçon" -birth_place: "Hidera" -birth_date: DateTime @1642896000 {#1983 date: 2022-01-23 00:00:00.0 UTC (+00:00) } -blood: "O-" -wilaya: "Tipaza" -city: "Hadjret ennous" -address: "Rue de l'indépendance n°5" -photo: null -diseases: "Aucune" -allergies: "Non" -food_habit: null -behavior: "Sage" -fears: null -interests: null -father_first_name: "Mhamed chakib" -father_last_name: "Sitouah" -father_phone: "0551329534" -father_mobile: null -mother_first_name: "Selma" -mother_last_name: "Bouyakoub" -mother_phone: "0562391324" -mother_mobile: null -trust_perso_one: "Le grand père sitouah mohamed" -trust_perso_one_phone: null -trust_perso_two: null -trust_perso_two_phone: null -trust_perso_three: null -trust_perso_three_phone: null -father_job: "Hopital" -mother_job: null -family_situation: App\Entity\enums\FamilySituation {#1828 …} -owner: App\Entity\Company {#1007 …} -section: null -accepted: null -createdAt: DateTimeImmutable @1757877730 {#2825 date: 2025-09-14 19:22:10.527775 UTC (+00:00) } -updatedAt: DateTimeImmutable @1757877730 {#2826 date: 2025-09-14 19:22:10.527778 UTC (+00:00) } -deletedAt: null } } "constraints" => null "groups" => null ]