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 {#2083 name: "child_type_basic" type_class: "App\Form\ChildTypeBasic" data: App\Entity\Child {#1920 -id: Symfony\Component\Uid\Ulid {#2465 …} -first_name: "taher2" -last_name: "sgh" -gender: "Fille" -birth_date: DateTime @1759449600 {#2150 date: 2025-10-03 00:00:00.0 UTC (+00:00) } -birth_place: "fffff" -blood: "A+" -diseases: null -allergies: null -food_habit: null -behavior: null -fears: null -interests: null -description: null -status: App\Entity\enums\ChildStatus {#1923 …} -section: App\Entity\Section {#2265 …} -photo: null -family: Doctrine\ORM\PersistentCollection {#2472 …} -owner: Proxies\__CG__\App\Entity\Company {#1096 …} -address: App\Entity\Location {#2003 …} -subscriptions: Doctrine\ORM\PersistentCollection {#2471 …} -classrooms: Doctrine\ORM\PersistentCollection {#2473 …} -evenements: Doctrine\ORM\PersistentCollection {#2474 …} -tasks: Doctrine\ORM\PersistentCollection {#2475 …} -posts: Doctrine\ORM\PersistentCollection {#2476 …} -first_name_ar: null -last_name_ar: null -season: App\Entity\Season {#1596 …} -pointings: Doctrine\ORM\PersistentCollection {#2477 …} -createdAt: DateTimeImmutable @1759527412 {#2468 date: 2025-10-03 21:36:52.608605 UTC (+00:00) } -updatedAt: DateTimeImmutable @1759527412 {#2469 date: 2025-10-03 21:36:52.608609 UTC (+00:00) } -deletedAt: null } } "constraints" => null "groups" => null ]