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 {#2054 name: "" type_class: "Eccube\Form\Type\SearchProductType" data: [ "mode" => null "category_id" => Eccube\Entity\Category {#1747 -id: 2 -name: "New Items" -hierarchy: 1 -sort_no: 6 -create_date: DateTime @1488881692 {#1678 date: 2017-03-07 10:14:52.0 UTC (+00:00) } -update_date: DateTime @1488881692 {#1760 date: 2017-03-07 10:14:52.0 UTC (+00:00) } -ProductCategories: Doctrine\ORM\PersistentCollection {#1765 …} -Children: Doctrine\ORM\PersistentCollection {#1767 …} -Parent: null -Creator: null -category_name_vi: null } "name" => null "pageno" => null "disp_number" => Eccube\Entity\Master\ProductListMax {#1713 #id: 20 #name: "20 items" #sort_no: 0 } "orderby" => Eccube\Entity\Master\ProductListOrderBy {#1823 #id: 1 #name: "Lowest" #sort_no: 0 } ] } "constraints" => null "groups" => null ]
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 {#3820 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Eccube\Entity\Category {#1747 -id: 2 -name: "New Items" -hierarchy: 1 -sort_no: 6 -create_date: DateTime @1488881692 {#1678 date: 2017-03-07 10:14:52.0 UTC (+00:00) } -update_date: DateTime @1488881692 {#1760 date: 2017-03-07 10:14:52.0 UTC (+00:00) } -ProductCategories: Doctrine\ORM\PersistentCollection {#1765 …} -Children: Doctrine\ORM\PersistentCollection {#1767 …} -Parent: null -Creator: null -category_name_vi: null } "name" => null ] } "constraints" => null "groups" => null ]