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 {#1090 name: "s696df56a37d03" type_class: "Symfony\Component\Form\Extension\Core\Type\FormType" data: App\Entity\Format {#871 -id: 6 -name: "Style" -image: "696df59761801576910277.png" -imageFile: Symfony\Component\HttpFoundation\File\File {#1341 …} -updatedAt: DateTimeImmutable @1768813975 {#1333 date: 2026-01-19 09:12:55.427571 UTC (+00:00) } -models: Doctrine\ORM\PersistentCollection {#886 …} } } "constraints" => null "groups" => null ]