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 {#1953 name: "company" type_class: "App\Form\CompanyType" data: App\Entity\Company {#1429 -id: 1 -name: "Menard" -creationDate: DateTime @1723638720 {#1423 date: 2024-08-14 14:32:00.0 Europe/Paris (+02:00) } -modificationDate: DateTime @1778161178 {#2501 date: 2026-05-07 15:39:38.429998 Europe/Paris (+02:00) } -street: "Innovation" -postalCode: "02200" -city: "SOISSONS" -comment: null -information: null -phone: "01" -pay: false -website: "https://menard.fr" -referent: App\Entity\Employee {#1438 …} -structure: App\Entity\Structure {#1446 …} -urlConfluence: null -active: true -accountingCodeOlisys: null -accountingCodeOlihost: null -cif: null -teamleaderId: null -vatNumber: null -nationalIdentificationNumber: null -customers: Doctrine\ORM\PersistentCollection {#1447 …} -commands: Doctrine\ORM\PersistentCollection {#1449 …} -companyServices: Doctrine\ORM\PersistentCollection {#1475 …} -tickets: Doctrine\ORM\PersistentCollection {#1473 …} -supervisors: Doctrine\ORM\PersistentCollection {#1494 …} -userFilterCompanies: Doctrine\ORM\PersistentCollection {#1508 …} -movementStocks: Doctrine\ORM\PersistentCollection {#1557 …} } } "constraints" => null "groups" => null ]