Validator calls
In
ValidationListener.php
line 55 (context):
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" => Form {#1767 name: "" type_class: "Eccube\Form\Type\SearchProductType" data: [ "mode" => null "category_id" => Category {#1620 -id: 1 -name: "cat1" -hierarchy: 1 -sort_no: 1 -create_date: DateTime @1639032062 {#1617 date: 2021-12-09 15:41:02.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1639032062 {#1618 date: 2021-12-09 15:41:02.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1630 …} -Children: PersistentCollection {#1643 …} -Parent: null -Creator: Member {#1641 …} -AnnotationReader: AnnotationReader {#304 …} } "name" => null "pageno" => null "disp_number" => ProductListMax {#1817 #id: 20 #name: "20件" #sort_no: 0 -AnnotationReader: AnnotationReader {#304 …} } "orderby" => ProductListOrderBy {#1825 #id: 1 #name: "価格が低い順" #sort_no: 0 -AnnotationReader: AnnotationReader {#304 …} } ] } "constraints" => null "groups" => null ]
In
ValidationListener.php
line 55 (context):
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" => Form {#2789 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#1620 -id: 1 -name: "cat1" -hierarchy: 1 -sort_no: 1 -create_date: DateTime @1639032062 {#1617 date: 2021-12-09 15:41:02.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1639032062 {#1618 date: 2021-12-09 15:41:02.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1630 …} -Children: PersistentCollection {#1643 …} -Parent: null -Creator: Member {#1641 …} -AnnotationReader: AnnotationReader {#304 …} } "name" => null ] } "constraints" => null "groups" => null ]