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 {#1247 name: "filter" type_class: "Symfony\Component\Form\Extension\Core\Type\FormType" data: [ "city__department" => Sonata\AdminBundle\Filter\Model\FilterData {#1530 -value: App\Entity\Department {#1546 …} -type: null -hasValue: true } "date" => Sonata\AdminBundle\Filter\Model\FilterData {#1592 -value: null -type: null -hasValue: false } "reportCategory" => Sonata\AdminBundle\Filter\Model\FilterData {#1632 -value: App\Entity\ReportCategory {#1619 …} -type: null -hasValue: true } "reportStatus" => Sonata\AdminBundle\Filter\Model\FilterData {#1600 -value: Doctrine\Common\Collections\ArrayCollection {#1598 …} -type: null -hasValue: true } "_sort_by" => "" "_sort_order" => null "_page" => "1" "_per_page" => "25" ] } "constraints" => null "groups" => null ]