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 {#946 name: "vente" type_class: "App\Form\VenteType" data: App\Entity\Vente {#782 -id: 17148 -type: "Engrais" -quantite: "12" -produit: App\Entity\Produit {#988 …} -category: null -declarationVente: App\Entity\DeclarationVente {#717 …} -created_at: DateTime @1768769253 {#783 date: 2026-01-18 20:47:33.340769 UTC (+00:00) } -pointVente: Proxies\__CG__\App\Entity\PointVente {#539 …} -user: App\Entity\User {#511 …} -region: Proxies\__CG__\App\Entity\Region {#549 …} -regionName: "Khmiss Zemamra" -pointVenteName: "ZV15" -categoryName: null -produitName: "NPK102810" -especeName: null -declarationDate: DateTime @1763078400 {#711 date: 2025-11-14 00:00:00.0 UTC (+00:00) } } } "constraints" => null "groups" => null ]