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 {#1195 name: "" type_class: "App\Form\Dto\AdvertDTOType" data: App\Dto\AdvertSearchCriteria {#793 -id: null -title: null -owner: null -ownerType: null -address: "Yoff, Dakar, Sénégal" -addressLat: "14.7471263" -addressLng: "-17.4902556" -radius: 5 -minPrice: null -maxPrice: null -purpose: null -purposes: [] -antiPurposes: null -type: null -landDocumentType: null -minPiece: null -maxPiece: null -minSurface: null -maxSurface: null -virtualTour: false -newRealState: false -status: null -isPromoted: false } } "constraints" => null "groups" => null ]