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 {#8262 name: "sylius_shop_customer_registration" type_class: "Sylius\Bundle\ShopBundle\Form\Type\CustomerRegistrationType" data: App\Entity\Customer\Customer {#5976 #id: 53 #email: "zifadzfl@dont-reply.me" #emailCanonical: "zifadzfl@dont-reply.me" #firstName: "MyName" #lastName: "John" #birthday: null #gender: "u" #group: null #phoneNumber: "Hello" #subscribedToNewsletter: true #createdAt: DateTime @1746832459 {#5977 date: 2025-05-09 23:14:19.490453 UTC (+00:00) } #updatedAt: DateTime @1746832459 {#8791 date: 2025-05-09 23:14:19.598284 UTC (+00:00) } #orders: Doctrine\ORM\PersistentCollection {#8872 …} #defaultAddress: null #addresses: Doctrine\ORM\PersistentCollection {#8705 …} #user: App\Entity\User\ShopUser {#8507 …} } } "constraints" => null "groups" => null ]
In
ValidationMiddleware.php
line ():
No violations
[ "value" => Symfony\Component\Mailer\Messenger\SendEmailMessage {#9151 -message: Symfony\Component\Mime\Email {#9041 …} -envelope: null } "constraints" => null "groups" => null ]