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 {#1208 name: "campaign" type_class: "App\Form\CampaignType" data: App\Entity\Campaign {#868 -id: 1 -title: "Immunité CBM588@" -subtitle: null -badge: null -buttonText: "Découvrir la campagne →" -link: "https://www.therascience.com/fr_fr/cbm588-phy532.html?queryID=c0ae496a9674fc8b4a7bb241e84aba45&objectID=63194&indexName=magento2_prod_fr_fr_products" -image: "CBM-6b11913e52daf6.52627005.png" -countries: [ "France" ] -locale: "fr" -startDate: DateTime @1796256000 {#860 date: 2026-12-03 00:00:00.0 UTC (+00:00) } -endDate: DateTime @1798934400 {#857 date: 2027-01-03 00:00:00.0 UTC (+00:00) } -isActive: true -createdAt: DateTimeImmutable @1796312773 {#859 date: 2026-12-03 15:46:13.0 UTC (+00:00) } -updatedAt: DateTimeImmutable @1796313406 {#1653 date: 2026-12-03 15:56:46.340465 UTC (+00:00) } } } "constraints" => null "groups" => null ]