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 {#12537 name: "" type_class: "App\Product\Infrastructure\Form\Search\ArtworkProductSearchType" data: [ "artWorkType" => Doctrine\Common\Collections\ArrayCollection {#12535 -elements: [] } "location" => null "minPrice" => null "maxPrice" => null "techniques" => Doctrine\Common\Collections\ArrayCollection {#13331 -elements: [] } "colors" => Doctrine\Common\Collections\ArrayCollection {#13388 -elements: [] } "orientationType" => [] ] } "constraints" => null "groups" => null ]