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 {#2158 -id: 18 -name: "ロイヤルカナン療法食 猫用" -hierarchy: 3 -sort_no: 190 -create_date: DateTime @1406740797 {#2144 date: 2014-07-31 02:19:57.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1581933720 {#2145 date: 2020-02-17 19:02:00.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2159 …} -Children: PersistentCollection {#2162 …} -Parent: Category {#2153 …} -Creator: Member {#1866 …} -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 {#2158 -id: 18 -name: "ロイヤルカナン療法食 猫用" -hierarchy: 3 -sort_no: 190 -create_date: DateTime @1406740797 {#2144 date: 2014-07-31 02:19:57.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1581933720 {#2145 date: 2020-02-17 19:02:00.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2159 …} -Children: PersistentCollection {#2162 …} -Parent: Category {#2153 …} -Creator: Member {#1866 …} -AnnotationReader: AnnotationReader {#307 …} } "name" => null ] } "constraints" => null "groups" => null ]