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 {#1150 name: "sessions" type_class: "App\Form\SessionsType" data: App\Entity\Sessions {#657 -id: 5139 -titre: "EXCEL-1800-2502-2702" -dateEntree: DateTime @1740441600 {#1178 date: 2025-02-25 00:00:00.0 UTC (+00:00) } -dateSortie: DateTime @1740614400 {#1231 date: 2025-02-27 00:00:00.0 UTC (+00:00) } -lieu: "Distanciel" -formation: App\Entity\Formations {#1292 …} -format: Proxies\__CG__\App\Entity\Format {#1252 …} -mode: App\Entity\Mode {#1346 …} -provenance: App\Entity\Provenance {#1391 …} -referant: Proxies\__CG__\App\Entity\Referent {#1338 …} -sessionClients: Doctrine\ORM\PersistentCollection {#1445 …} -societe: Proxies\__CG__\App\Entity\Societe {#489 …} } } "constraints" => null "groups" => null ]