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 {#2765 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2657 -id: 1022 -name: "動物用医薬品" -hierarchy: 2 -sort_no: 153 -create_date: DateTime @1574650660 {#2583 date: 2019-11-25 11:57:40.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1595553437 {#2584 date: 2020-07-24 10:17:17.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2658 …} -Children: PersistentCollection {#2661 …} -Parent: Category {#2148 …} -Creator: Member {#1491 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "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 {#3799 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2657 -id: 1022 -name: "動物用医薬品" -hierarchy: 2 -sort_no: 153 -create_date: DateTime @1574650660 {#2583 date: 2019-11-25 11:57:40.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1595553437 {#2584 date: 2020-07-24 10:17:17.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2658 …} -Children: PersistentCollection {#2661 …} -Parent: Category {#2148 …} -Creator: Member {#1491 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]