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 {#4488 name: "f" type_class: "App\Search\Form\FilterForm" data: [ "m" => [ Proxies\__CG__\App\Entity\Manufacturer {#1196 -principalImage: null -name: "Daikin" #slug: "daikin" -displayable: true -products: Doctrine\ORM\PersistentCollection {#2179 …} #id: 1 #createdAt: DateTime @1347012664 {#2251 date: 2012-09-07 12:11:04.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1535975761 {#2190 date: 2018-09-03 13:56:01.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: 65 -position: 6 #createdAt: DateTime @1650617984 {#1602 date: 2022-04-22 10:59:44.0 Europe/Bratislava (+02:00) } #updatedAt: DateTime @1660827266 {#1109 date: 2022-08-18 14:54:26.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 ]