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 {#1300 name: "product" type_class: "App\Form\Type\ProductType" data: App\Entity\Products {#1001 -id: 133 -name: "Aprender a leer con los cuentos Disney Regalo Especial" -description: "Aprender a leer con los cuentos Disney Regalo Especial" -price: "1490" -compareAtPrice: null -SKU: null -stock: 0 -isActive: true -updatedAt: DateTimeImmutable @1770302352 {#1664 date: 2026-02-05 14:39:12.942842 Etc/UTC (+00:00) } -createdAt: DateTimeImmutable @1770302352 {#1620 date: 2026-02-05 14:39:12.925140 Etc/UTC (+00:00) } -warehouse: App\Entity\Warehouses {#1463 …} -category: App\Entity\ProductCategories {#1423 …} -orderItems: Doctrine\ORM\PersistentCollection {#1619 …} -imageFile: Symfony\Component\HttpFoundation\File\File {#1654 …} -image: "whatsapp-image-2026-02-02-at-6-48-04-pm-6984ab90e54d6686009947.jpeg" -images: Doctrine\ORM\PersistentCollection {#1649 …} -vendor: App\Entity\Vendor {#1505 …} -voucherItems: Doctrine\ORM\PersistentCollection {#1537 …} } } "constraints" => null "groups" => null ]