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 {#2766 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#1500 -id: 11 -name: "ロイヤルカナン療法食 犬用" -hierarchy: 3 -sort_no: 187 -create_date: DateTime @1406732182 {#1466 date: 2014-07-30 23:56:22.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1575870234 {#1467 date: 2019-12-09 14:43:54.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1501 …} -Children: PersistentCollection {#1504 …} -Parent: Category {#1495 …} -Creator: Member {#1492 …} -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 {#3801 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#1500 -id: 11 -name: "ロイヤルカナン療法食 犬用" -hierarchy: 3 -sort_no: 187 -create_date: DateTime @1406732182 {#1466 date: 2014-07-30 23:56:22.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1575870234 {#1467 date: 2019-12-09 14:43:54.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#1501 …} -Children: PersistentCollection {#1504 …} -Parent: Category {#1495 …} -Creator: Member {#1492 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]