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 {#6020 name: "DocumentType" type_class: "EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType" data: Consoneo\Bundle\ObligeBundle\Entity\DocumentType {#5511 -id: 88 -slug: "previsite" -name: "Prévisite" -originalEmailName: "Copie ou original de la pré-visite technique (datée et signée par le client)" -operations: Doctrine\ORM\PersistentCollection {#5503 …} -created_datetime: DateTime @1520412224 {#5510 date: 2018-03-07 09:43:44.0 Europe/Paris (+01:00) } -weight: 1 -offreProjetDocumentObligatoires: Doctrine\ORM\PersistentCollection {#5501 …} -installateurDocumentReferences: Doctrine\ORM\PersistentCollection {#5528 …} -documents: Doctrine\ORM\PersistentCollection {#5531 …} -originalNeeded: true -allowedUniverSign: false -description: null #obligeDocumentTypeConfigs: Doctrine\ORM\PersistentCollection {#5550 …} } } "constraints" => null "groups" => null ]