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 {#4382 name: "f" type_class: "App\Search\Form\FilterForm" data: [ "m" => [ Proxies\__CG__\App\Entity\Manufacturer {#1196 -principalImage: null -name: "Mitsubishi" #slug: "mitsubishi" -displayable: true -products: Doctrine\ORM\PersistentCollection {#2179 …} #id: 3 #createdAt: DateTime @1347014018 {#2282 date: 2012-09-07 12:33:38.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1347014018 {#2190 date: 2012-09-07 12:33: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: 13 -position: -1 #createdAt: DateTime @1403199891 {#1602 date: 2014-06-19 19:44:51.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1695377990 {#1109 date: 2023-09-22 12:19:50.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 ]