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 {#1741 name: "campaign_step1" type_class: "App\Form\CampaignStep1Type" data: App\Entity\Campaign {#1129 -id: 15 -datetimeStart: DateTime @1769522430 {#1861 date: 2026-01-27 15:00:30.0 Europe/Rome (+01:00) } -datetimeEnd: DateTime @1772114430 {#2919 date: 2026-02-26 15:00:30.0 Europe/Rome (+01:00) } -numberOfViews: 0 -numberOfScan: 0 -minimumSpend: ? ?string -bannerImagePath: ? ?string -bannerVideoPath: ? ?string -bannerUrl: ? ?string -code: "P9CE15" -gameFirstDiscountPercentage: ? ?string -gameSecondDiscountPercentage: ? ?string -gameThirdDiscountPercentage: ? ?string -maxVoucherNumber: ? ?int -purchase: null -campaignType: App\Entity\CampaignType {#1860 …} -campaignMedia: App\Entity\CampaignMedia {#1851 …} -campaignRadius: App\Entity\CampaignRadius {#1823 …} -game: null -campaignPhase: App\Entity\CampaignPhase {#2920 …} -pointsOfSale: Doctrine\ORM\PersistentCollection {#2981 …} -rides: Doctrine\ORM\PersistentCollection {#2978 …} -vouchers: Doctrine\ORM\PersistentCollection {#2989 …} } } "constraints" => null "groups" => null ]