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 {#1473 name: "session" type_class: "App\Sejour\Form\SessionType" data: App\Sejour\Entity\Session {#914 -id: 35 -dateDebut: DateTime @1792195200 {#909 date: 2026-10-17 00:00:00.0 UTC (+00:00) } -dateFin: DateTime @1793404800 {#906 date: 2026-10-31 00:00:00.0 UTC (+00:00) } -commentaire: "<p>Tout compris/sans le vol</p>" -prix: 3700.0 -stock_initial: 10 -stock: 2 -effectif_mini: null -statut: "Confirmé" -sejour: Proxies\__CG__\App\Sejour\Entity\Sejour {#966 …} } } "constraints" => null "groups" => null ]