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 {#2961 name: "" type_class: "Eccube\Form\Type\SearchProductType" data: [ "mode" => null "category_id" => Category {#2293 -id: 48 -name: "肝臓サポート" -hierarchy: 4 -sort_no: 40 -create_date: DateTime @1408711950 {#2291 date: 2014-08-22 21:52:30.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1612935311 {#2292 date: 2021-02-10 14:35:11.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2294 …} -Children: PersistentCollection {#2297 …} -Parent: Category {#2261 …} -Creator: Member {#1594 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null "pageno" => null "disp_number" => ProductListMax {#3011 #id: 20 #name: "20件" #sort_no: 0 -AnnotationReader: AnnotationReader {#307 …} } "orderby" => ProductListOrderBy {#3019 #id: 1 #name: "価格が低い順" #sort_no: 0 -AnnotationReader: AnnotationReader {#307 …} } ] } "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 {#3470 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2293 -id: 48 -name: "肝臓サポート" -hierarchy: 4 -sort_no: 40 -create_date: DateTime @1408711950 {#2291 date: 2014-08-22 21:52:30.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1612935311 {#2292 date: 2021-02-10 14:35:11.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2294 …} -Children: PersistentCollection {#2297 …} -Parent: Category {#2261 …} -Creator: Member {#1594 …} -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 {#4083 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2293 -id: 48 -name: "肝臓サポート" -hierarchy: 4 -sort_no: 40 -create_date: DateTime @1408711950 {#2291 date: 2014-08-22 21:52:30.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1612935311 {#2292 date: 2021-02-10 14:35:11.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2294 …} -Children: PersistentCollection {#2297 …} -Parent: Category {#2261 …} -Creator: Member {#1594 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]