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 {#2601 name: "public_enquiry_filter" type_class: "App\Form\PublicEnquiryFilterType" data: App\Form\Model\Box\PublicEnquirySearch {#2579 +type: null +department: Doctrine\Common\Collections\ArrayCollection {#2621 …} +status: App\Enum\PublicEnquiryStatusEnum {#2558 …} +isPublished: true +sort: "DESC" } } "constraints" => null "groups" => null ]