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 {#14892 name: "product_filter" type_class: "App\Ecom\Application\Form\Shop\Search\ProductFilterType" data: App\Ecom\Application\Form\Shop\Search\Payload\ProductFilterPayload {#4160 +taxons: [] +tag: null +brands: [] +limit: 27 +sortingField: "name" +sortingDirection: "asc" +promotions: [] +minPrice: 0 +maxPrice: 100000 +searchTaxon: 840 +searchTerm: null } } "constraints" => null "groups" => null ]