Validator calls
In
ValidationListener.php
line 46 (context):
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 {#717 name: "registration_form" type_class: "App\Form\RegistrationFormType" data: App\Entity\UserEntity {#468 -id: 2335 -username: "hFhQxmNaDDtPHnY" -email: "udotonadav18@gmail.com" -active: false -md5User: "3998820d121bb5ed9b2fe62d3c236a12" -roles: [ "ROLE_USER" ] -password: "$2y$13$39QkLbSuNiHVNp7mhmCSlOC7BKAOzQZrd.cI4jQVCy3rMyLk1.kPy" -messages: Doctrine\ORM\PersistentCollection {#1164 …} } } "constraints" => null "groups" => null ]