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 {#1780 name: "sessions" type_class: "App\Form\SessionsType" data: App\Entity\Sessions {#1079 -id: 5136 -titre: "EXCEL-1800-2502-2702" -dateEntree: DateTime @1740441600 {#1815 date: 2025-02-25 00:00:00.0 UTC (+00:00) } -dateSortie: DateTime @1740614400 {#1861 date: 2025-02-27 00:00:00.0 UTC (+00:00) } -lieu: "Distanciel" -formation: App\Entity\Formations {#1922 …} -format: Proxies\__CG__\App\Entity\Format {#1882 …} -mode: App\Entity\Mode {#1973 …} -provenance: App\Entity\Provenance {#2004 …} -referant: Proxies\__CG__\App\Entity\Referent {#1968 …} -sessionClients: Doctrine\ORM\PersistentCollection {#2058 …} -societe: Proxies\__CG__\App\Entity\Societe {#489 …} } } "constraints" => null "groups" => null ]