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 {#1417 name: "standard" type_class: "App\Form\Type\Test\StandardType" data: App\Entity\Test\Standard {#988 -id: 29 -code: "EN IEC 60598-1:2021" -standardPdf: App\Entity\Common\AppFile {#1730 …} -issueYear: 2021 -expiryDate: null -amds: Doctrine\ORM\PersistentCollection {#1068 …} -replacementStandard: null -replacedStandards: Doctrine\ORM\PersistentCollection {#1721 …} -description: null -paragraphs: Doctrine\ORM\PersistentCollection {#1720 …} -technicalProcedures: Doctrine\ORM\PersistentCollection {#1724 …} } } "constraints" => null "groups" => null ]