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 {#4369 name: "f" type_class: "App\Search\Form\FilterForm" data: [ "m" => [ Proxies\__CG__\App\Entity\Manufacturer {#1196 -principalImage: null -name: "LG" #slug: "lg" -displayable: true -products: Doctrine\ORM\PersistentCollection {#2179 …} #id: 5 #createdAt: DateTime @1347010049 {#2282 date: 2012-09-07 11:27:29.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1546193379 {#2190 date: 2018-12-30 19:09:39.0 Europe/Bratislava (+01: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: 21 -position: -1 #createdAt: DateTime @1403271121 {#1602 date: 2014-06-20 15:32:01.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1720518309 {#1109 date: 2024-07-09 11:45:09.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 ]