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 {#1089 name: "form" type_class: "Symfony\Component\Form\Extension\Core\Type\FormType" data: App\Entity\SecurUser {#844 -id: null -username: "John" -roles: [ "ROLE_USER" ] -password: "$2y$13$vbnSkjr9i3.kLnynbNNdQ.7/SyOkEk7VSnWCSlq6hBhvVGSulpdai" -email: "linda.mays@comcast.net" -telephone: "+15 8527963081" -cgu: true -actif: false -codeVerif: "614846" -dateCrea: DateTime @1744356051 {#1570 date: 2025-04-11 07:20:51.924794 UTC (+00:00) } -dateModif: DateTime @1744356051 {#1206 date: 2025-04-11 07:20:51.924802 UTC (+00:00) } -codeTelVerif: null -pref: "email" -changePass: null -blogArticles: ? Doctrine\Common\Collections\Collection -albumDocs: Doctrine\ORM\PersistentCollection {#1391 …} -blogCommentaires: Doctrine\ORM\PersistentCollection {#1271 …} -avatars: Doctrine\ORM\PersistentCollection {#1430 …} +"publications": Doctrine\Common\Collections\ArrayCollection {#933 …} +"medias": Doctrine\Common\Collections\ArrayCollection {#949 …} } } "constraints" => null "groups" => null ]