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 {#2101 name: "company_type_localization" type_class: "App\Form\CompanyTypeLocalization" data: Proxies\__CG__\App\Entity\Company {#1124 -id: Symfony\Component\Uid\Ulid {#1264 …} -name: "sgh" -type: App\Entity\enums\CompanyCategory {#852 …} -size: "petite" -logo: null -email: null -phone: null -mobile: null -fax: null -description: null -website: null -facebook: null -twitter: null -instagram: null -youtube: null -tiktok: null -rc: null -nif: null -nis: null -is_active: null -users: Doctrine\ORM\PersistentCollection {#1272 …} -address: null -date_format: null -languege: null -currencie: "DZD" -time_zone: null -expenses: Doctrine\ORM\PersistentCollection {#1296 …} -expenseCategories: Doctrine\ORM\PersistentCollection {#1290 …} -seasons: Doctrine\ORM\PersistentCollection {#1356 …} -services: Doctrine\ORM\PersistentCollection {#1336 …} -sections: Doctrine\ORM\PersistentCollection {#1383 …} -familyMembers: Doctrine\ORM\PersistentCollection {#1398 …} -children: Doctrine\ORM\PersistentCollection {#1459 …} -employees: Doctrine\ORM\PersistentCollection {#1435 …} -subscriptions: Doctrine\ORM\PersistentCollection {#1437 …} -payments: Doctrine\ORM\PersistentCollection {#1392 …} -classrooms: Doctrine\ORM\PersistentCollection {#1351 …} -evenements: Doctrine\ORM\PersistentCollection {#1445 …} -tasks: Doctrine\ORM\PersistentCollection {#1547 …} -absenceEmployees: Doctrine\ORM\PersistentCollection {#1554 …} -posts: Doctrine\ORM\PersistentCollection {#1553 …} -colleagues: Doctrine\ORM\PersistentCollection {#1579 …} -abonnements: Doctrine\ORM\PersistentCollection {#1572 …} -orders: Doctrine\ORM\PersistentCollection {#1448 …} -prechildren: Doctrine\ORM\PersistentCollection {#1640 …} -pointings: Doctrine\ORM\PersistentCollection {#1651 …} -activities: Doctrine\ORM\PersistentCollection {#1643 …} -createdAt: DateTimeImmutable @1757184428 {#1261 date: 2025-09-06 18:47:08.0 UTC (+00:00) } -updatedAt: DateTimeImmutable @1757184428 {#1271 date: 2025-09-06 18:47:08.0 UTC (+00:00) } -deletedAt: null +__isInitialized__: true …2 } } "constraints" => null "groups" => null ]