Validator calls
In
ValidationListener.php
line ():
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 {#1299 name: "product" type_class: "App\Form\Type\ProductType" data: App\Entity\Products {#1000 -id: 138 -name: "Nueva enciclopedia autodidáctica 9 Vol." -description: "Nueva enciclopedia autodidáctica 9 Vol." -price: "4990" -compareAtPrice: null -SKU: null -stock: 0 -isActive: true -updatedAt: DateTimeImmutable @1770308837 {#1613 date: 2026-02-05 16:27:17.340482 Etc/UTC (+00:00) } -createdAt: DateTimeImmutable @1770308837 {#1614 date: 2026-02-05 16:27:17.340495 Etc/UTC (+00:00) } -warehouse: App\Entity\Warehouses {#1462 …} -category: App\Entity\ProductCategories {#1422 …} -orderItems: Doctrine\ORM\PersistentCollection {#1636 …} -imageFile: null -image: null -images: Doctrine\ORM\PersistentCollection {#1620 …} -vendor: App\Entity\Vendor {#1504 …} -voucherItems: Doctrine\ORM\PersistentCollection {#1533 …} } } "constraints" => null "groups" => null ]