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 {#1021 name: "theme" type_class: "App\Form\ThemeType" data: App\Entity\Theme {#474 -id: 126 -dateCreation: DateTime @1776148543 {#117 date: 2026-04-14 06:35:43.805417 UTC (+00:00) } -dateNaissance: DateTime @936489600 {#1031 date: 1999-09-05 00:00:00.0 UTC (+00:00) } -nom: "AMIOT" -prenom: "Nathanael" -genre: "masculin" -user: App\Entity\Utilisateur {#820 …} } } "constraints" => null "groups" => null ]