Validator calls
In
ValidationListener.php
line ():
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 {#936 name: "pole" type_class: "App\Form\Admin\PoleType" data: App\Entity\Pole {#674 -id: 14 -slug: "crud-v2" -num: 88 -sortOrder: 88 -iconSvg: "" -isActive: true -createdAt: Symfony\Component\Clock\DatePoint @1785761942 {#1258 date: 2026-08-03 12:59:02.321729 UTC (+00:00) } -updatedAt: Symfony\Component\Clock\DatePoint @1785761942 {#1259 date: 2026-08-03 12:59:02.321697 UTC (+00:00) } -translations: Doctrine\ORM\PersistentCollection {#1248 …} -features: Doctrine\ORM\PersistentCollection {#1260 …} } } "constraints" => null "groups" => null ]
No violations