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: null -first_name: "Benseghir" -last_name: "Yasmine karima" -gender: "Fille" -birth_place: "Hadjout" -birth_date: DateTime @1699056000 {#1910 date: 2023-11-04 00:00:00.0 UTC (+00:00) } -blood: "O+" -wilaya: "Tipaza" -city: "Tipaza" -address: "Cité 16 villa n11 tipaza" -photo: null -diseases: null -allergies: null -food_habit: null -behavior: null -fears: null -interests: null -father_first_name: "Sofien" -father_last_name: "Benseghir" -father_phone: null -father_mobile: null -mother_first_name: "Senia" -mother_last_name: "Bechenine" -mother_phone: "0658703416" -mother_mobile: null -trust_perso_one: null -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: "Fonctionnaire" -mother_job: "Fonctionnaire" -family_situation: App\Entity\enums\FamilySituation {#1755 …} -owner: null -section: App\Entity\Section {#2515 …} -accepted: null -createdAt: null -updatedAt: null -deletedAt: null } } "constraints" => null "groups" => null ]