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 {#1442 name: "clients" type_class: "App\Form\ClientsType" data: App\Entity\Clients {#879 -id: 8106 -nom: "Belhouchat" -prenom: "Salah" -mail: "belhouchatsalah27@gmail.com" -adresse: "35 CHE" -ville: "LONGEVILLE LES ST AVOLD" -tel: "+33642680184" -numEdof: 421143217345 -dateCreation: DateTime @1741270632 {#1003 date: 2025-03-06 14:17:12.317622 UTC (+00:00) } -vendeur: "Cédric" -statut: App\Entity\Statut {#1628 …} -statutProspect: App\Entity\StatutProspect {#1670 …} -provenance: App\Entity\Provenance {#1658 …} -categorie: App\Entity\Categorie {#1669 …} -civilite: App\Entity\Civilite {#1638 …} -sessionClients: Doctrine\ORM\PersistentCollection {#1688 …} -societe: Proxies\__CG__\App\Entity\Societe {#489 …} -hitoriqueMails: Doctrine\ORM\PersistentCollection {#2011 …} -cp: 57740 -dateNaissance: null -lieuNaissance: null } } "constraints" => null "groups" => null ]