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 {#1630 name: "registration" type_class: "App\Modules\User\Form\RegistrationType" data: App\Modules\User\Entity\User {#1589 -id: null -username: null -password: null -email: "Mhoward5464@yahoo.com" -firstName: null -lastName: null -publicKey: null -type: null -isFullyRegistered: true -isVerified: false -isActive: false -addedAt: null -profile: Doctrine\Common\Collections\ArrayCollection {#1615 …} -favoriteUsers: Doctrine\Common\Collections\ArrayCollection {#1608 …} -favoritedByUsers: Doctrine\Common\Collections\ArrayCollection {#1609 …} -friends: Doctrine\Common\Collections\ArrayCollection {#1610 …} -consultants: Doctrine\Common\Collections\ArrayCollection {#1576 …} -consulted: Doctrine\Common\Collections\ArrayCollection {#1612 …} } } "constraints" => null "groups" => null ]