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 {#4016 name: "f" type_class: "App\Search\Form\FilterForm" data: [ "m" => [ Proxies\__CG__\App\Entity\Manufacturer {#1196 -principalImage: null -name: "Samsung" #slug: "samsung" -displayable: true -products: Doctrine\ORM\PersistentCollection {#2179 …} #id: 4 #createdAt: DateTime @1395745864 {#2489 date: 2014-03-25 12:11:04.0 Europe/Bratislava (+01:00) } #updatedAt: DateTime @1550497707 {#2190 date: 2019-02-18 14:48:27.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: 50 -position: 9 #createdAt: DateTime @1582119081 {#1602 date: 2020-02-19 14:31:21.0 Europe/Bratislava (+01:00) } #updatedAt: DateTime @1739797139 {#1109 date: 2025-02-17 13:58:59.0 Europe/Bratislava (+01: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 ]