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 {#2770 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2583 -id: 1052 -name: "エイジングケア" -hierarchy: 3 -sort_no: 152 -create_date: DateTime @1578286394 {#2576 date: 2020-01-06 13:53:14.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1578286394 {#2577 date: 2020-01-06 13:53:14.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2584 …} -Children: PersistentCollection {#2587 …} -Parent: Category {#2578 …} -Creator: Member {#1871 …} -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 {#3804 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2583 -id: 1052 -name: "エイジングケア" -hierarchy: 3 -sort_no: 152 -create_date: DateTime @1578286394 {#2576 date: 2020-01-06 13:53:14.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1578286394 {#2577 date: 2020-01-06 13:53:14.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2584 …} -Children: PersistentCollection {#2587 …} -Parent: Category {#2578 …} -Creator: Member {#1871 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]