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: 5143 -titre: "WORD-ICDL-2200-2403-2703" -dateEntree: DateTime @1742774400 {#1178 date: 2025-03-24 00:00:00.0 UTC (+00:00) } -dateSortie: DateTime @1743033600 {#1231 date: 2025-03-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 ]