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 {#859 name: "message" type_class: "App\Form\MessageType" data: App\Entity\Messages {#747 -id: 773 -name: "test" -email: "test@example.com" -subject: "TECHNICAL_SUPPORT" -message: "test" #createdAt: DateTime @1777390146 {#1331 date: 2026-04-28 15:29:06.108395 UTC (+00:00) } #updatedAt: DateTime @1777390146 {#1328 date: 2026-04-28 15:29:06.108378 UTC (+00:00) } } } "constraints" => null "groups" => null ]