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 {#1333 name: "Testimonial" type_class: "EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType" data: App\Entity\Testimonial {#998 -id: 1 -name: "Loy Dsouza" -location: "London" -message: "<div>After a teenager, Natalia, is found drowned in the Thames and the police discount the death as accidental, legal aid lawyer Alex is drafted in to try and uncover the real story. Kat, Special Political Advisor to the Home Secretary, discovers a series of cover-ups that could provide the answers Alex is looking for.</div>" -stars: 5 -created_at: DateTimeImmutable @1742033643 {#2043 date: 2025-03-15 10:14:03.895694 UTC (+00:00) } -updated_at: DateTimeImmutable @1742033643 {#2044 date: 2025-03-15 10:14:03.895698 UTC (+00:00) } -book: App\Entity\Book {#1800 …} } } "constraints" => null "groups" => null ]