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 {#1236 name: "filter" type_class: "Symfony\Component\Form\Extension\Core\Type\FormType" data: [ "city__department" => Sonata\AdminBundle\Filter\Model\FilterData {#1527 -value: App\Entity\Department {#1568 …} -type: null -hasValue: true } "date" => Sonata\AdminBundle\Filter\Model\FilterData {#1589 -value: null -type: null -hasValue: false } "reportCategory" => Sonata\AdminBundle\Filter\Model\FilterData {#1631 -value: App\Entity\ReportCategory {#1618 …} -type: null -hasValue: true } "reportStatus" => Sonata\AdminBundle\Filter\Model\FilterData {#1599 -value: Doctrine\Common\Collections\ArrayCollection {#1597 …} -type: null -hasValue: true } "_sort_by" => "" "_sort_order" => null "_page" => "1" "_per_page" => "25" ] } "constraints" => null "groups" => null ]