Validator calls
In
ApiDemandeLogementController.php
line ():
No violations
// Validation des données reçus$inputErrors = $validator->validate($leadLocation);if (count($inputErrors) > 0) {$errorsString = (string) $inputErrors;$this->logger->warning('Lead location refusé : données invalides', ['data' => $leadLocation, 'errors' => $errorsString]);return $this->json($inputErrors, Response::HTTP_BAD_REQUEST);
[ "value" => App\Entity\LeadLocation {#808 -id: 2935 -uuid: Ramsey\Uuid\Lazy\LazyUuidFromString {#810 …} -firstName: "" -lastName: "Benjamin Cisse" -email: "alhassanediaby85@gmail.com" -tel: "+330781987548" -city: "TOULOUSE " -sourceProspect: "My Se Loger pro (SGL)" -commentaireDemande: """ Je suis intéressé par votre offre et souhaite organiser un rendez-vous de visite. Merci de bien vouloir me contacter. Je cherche urgemment un T2 avec un\r\n salaire net 2100€ par mois """ -utmForm: "My Se Loger pro (SGL)" -utmSource: "My Se Loger pro (SGL)" -utmMedium: "ApiLeadsBuy" -utmCampaign: "" -utmTerm: "" -attribution: "Location Toulouse 1" -refAnnonce: "8704" -lienAnnonce: null -demandeLogement: App\Entity\DemandeLogement {#1043 …} -createdAt: DateTimeImmutable @1770925512 {#842 date: 2026-02-12 20:45:12.905440 Europe/Paris (+01:00) } -miseEnLocation: null } "constraints" => null "groups" => null ]
In
ApiDemandeLogementController.php
line ():
No violations
[ "value" => App\Entity\LeadLocation {#808 -id: 2935 -uuid: Ramsey\Uuid\Lazy\LazyUuidFromString {#810 …} -firstName: "" -lastName: "Benjamin Cisse" -email: "alhassanediaby85@gmail.com" -tel: "+330781987548" -city: "TOULOUSE " -sourceProspect: "My Se Loger pro (SGL)" -commentaireDemande: """ Je suis intéressé par votre offre et souhaite organiser un rendez-vous de visite. Merci de bien vouloir me contacter. Je cherche urgemment un T2 avec un\r\n salaire net 2100€ par mois """ -utmForm: "My Se Loger pro (SGL)" -utmSource: "My Se Loger pro (SGL)" -utmMedium: "ApiLeadsBuy" -utmCampaign: "" -utmTerm: "" -attribution: "Location Toulouse 1" -refAnnonce: "8704" -lienAnnonce: null -demandeLogement: App\Entity\DemandeLogement {#1043 …} -createdAt: DateTimeImmutable @1770925512 {#842 date: 2026-02-12 20:45:12.905440 Europe/Paris (+01:00) } -miseEnLocation: null } "constraints" => null "groups" => null ]