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 {#877 name: "registration_form" type_class: "App\Form\RegistrationFormType" data: App\Entity\User {#611 -id: 708 -email: "nbhayca@yahoo.com" -roles: [ "ROLE_USER" ] -password: "$2y$13$iLiUsuBD3SYW.MpICTAO4efdqYpshXlLKV1teH0PG.7ngWuSobeUi" -firstname: "ztikljpmos" -lastname: "igjvirhnyr" -nif: null -stats: null -companyName: null -companyNumber: null -createdAt: DateTimeImmutable @1750105162 {#591 date: 2025-06-16 22:19:22.178024 Europe/Zurich (+02:00) } -updatedAt: DateTimeImmutable @1750105162 {#592 date: 2025-06-16 22:19:22.178025 Europe/Zurich (+02:00) } -Categories: Doctrine\ORM\PersistentCollection {#1235 …} -Products: Doctrine\ORM\PersistentCollection {#1436 …} -orders: Doctrine\ORM\PersistentCollection {#1471 …} -cart: null -addresses: Doctrine\ORM\PersistentCollection {#1096 …} -Country: null -phoneNumber: null -message: null -isVerified: false -verificationToken: "45573a548f8bf509367a123a70e6cc13071e750ba7dcfa39c61646825934c731" -prefix: null -adress: null -reviews: Doctrine\ORM\PersistentCollection {#1391 …} } } "constraints" => null "groups" => null ]