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 {#1316 name: "clients" type_class: "App\Form\ClientsType" data: App\Entity\Clients {#753 -id: 8096 -nom: "BOUCHOUK" -prenom: "Mourad" -mail: "mourra.d@hotmail.fr" -adresse: "22 PRO MAXIME GORKI" -ville: "SARTROUVILLE" -tel: "+33630743270" -numEdof: 1 -dateCreation: DateTime @1740388112 {#751 date: 2025-02-24 09:08:32.0 UTC (+00:00) } -vendeur: "zinedine" -statut: Proxies\__CG__\App\Entity\Statut {#783 …} -statutProspect: Proxies\__CG__\App\Entity\StatutProspect {#794 …} -provenance: Proxies\__CG__\App\Entity\Provenance {#809 …} -categorie: Proxies\__CG__\App\Entity\Categorie {#824 …} -civilite: Proxies\__CG__\App\Entity\Civilite {#839 …} -sessionClients: Doctrine\ORM\PersistentCollection {#858 …} -societe: Proxies\__CG__\App\Entity\Societe {#489 …} -hitoriqueMails: Doctrine\ORM\PersistentCollection {#883 …} -cp: 78500 -dateNaissance: null -lieuNaissance: null } } "constraints" => null "groups" => null ]