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 {#1472 name: "Category" type_class: "EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType" data: App\Entity\Category {#1092 -id: 15 -name: "Interfaces" -slug: "interface" -description: null -parent: App\Entity\Category {#1886 …} -children: Doctrine\ORM\PersistentCollection {#1998 …} -articleType: App\Entity\ArticleType {#1776 …} -articles: Doctrine\ORM\PersistentCollection {#2013 …} } } "constraints" => null "groups" => null ]