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 {#4374 name: "f" type_class: "App\Search\Form\FilterForm" data: [ "m" => [ Proxies\__CG__\App\Entity\Manufacturer {#1196 -principalImage: null -name: "Sinclair" #slug: "sinclair" -displayable: true -products: Doctrine\ORM\PersistentCollection {#2179 …} #id: 59 #createdAt: DateTime @1519902024 {#2282 date: 2018-03-01 12:00:24.0 Europe/Bratislava (+01:00) } #updatedAt: DateTime @1540068518 {#2190 date: 2018-10-20 22:48:38.0 Europe/Bratislava (+02:00) } -lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#1199 …} } ] "c" => [ App\Entity\ProductClass {#1005 -principalCategory: Proxies\__CG__\App\Entity\Category {#997 …} -principalImage: Proxies\__CG__\App\Entity\Image {#1590 …} -manufacturer: Proxies\__CG__\App\Entity\Manufacturer {#1196} -parent: Proxies\__CG__\App\Entity\ProductClass {#1219 …} -children: Doctrine\ORM\PersistentCollection {#1168 …} -images: Doctrine\ORM\PersistentCollection {#1137 …} -products: Doctrine\ORM\PersistentCollection {#1457 …} #translations: Doctrine\ORM\PersistentCollection {#1445 …} #id: 63 -position: 14 #createdAt: DateTime @1622802808 {#1602 date: 2021-06-04 12:33:28.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1695378149 {#1109 date: 2023-09-22 12:22:29.0 Europe/Bratislava (+02:00) } #newTranslations: null #currentLocale: "sk" #defaultLocale: "sk" #enabled: true } ] "p" => [ "min" => null "max" => null ] "s" => null "q" => false 30 => [] 91 => [] 85 => [] ] } "constraints" => null "groups" => null ]