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 {#2771 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#1789 -id: 62 -name: "r/d" -hierarchy: 4 -sort_no: 54 -create_date: DateTime @1409318271 {#1787 date: 2014-08-29 22:17:51.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1601344449 {#1788 date: 2020-09-29 10:54:09.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1790 …} -Children: PersistentCollection {#1793 …} -Parent: Category {#1677 …} -Creator: Member {#1497 …} -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 {#3806 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#1789 -id: 62 -name: "r/d" -hierarchy: 4 -sort_no: 54 -create_date: DateTime @1409318271 {#1787 date: 2014-08-29 22:17:51.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1601344449 {#1788 date: 2020-09-29 10:54:09.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1790 …} -Children: PersistentCollection {#1793 …} -Parent: Category {#1677 …} -Creator: Member {#1497 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]