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 {#792 name: "determine_type_demande" type_class: "App\Form\DetermineTypeDemandeType" data: [ "cin" => "AS1568" "date_naissance" => DateTime @896659200 {#832 date: 1998-06-01 00:00:00.0 UTC (+00:00) } "cycle" => App\Entity\Cycles {#869 -id: 1 -titre_ar: "سلك الإجازة" -titre_fr: "Licence" -supprime: false -demandes: Doctrine\ORM\PersistentCollection {#858 …} } "type" => "renouvellement" ] } "constraints" => null "groups" => null ]