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 {#1419 name: "registration_form" type_class: "App\Form\RegistrationFormType" data: App\Entity\User {#801 -id: 1 -email: "oliver@juice.eu.com" -roles: [] -password: "$2y$13$NLcSZRN/eLxI.89Qb5Vtx.lJSXrXFZFaPPfxJ2lDJNsxHUEmL5ICy" -name: null -isVerified: false -mediaCategories: Doctrine\ORM\PersistentCollection {#1138 …} -mediaItems: Doctrine\ORM\PersistentCollection {#1782 …} } } "constraints" => null "groups" => null ]