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 {#2250 name: "" type_class: "Eccube\Form\Type\SearchProductBlockType" data: [ "category_id" => Category {#2217 -id: 7 -name: "おくりもの" -hierarchy: 1 -sort_no: 1 -create_date: DateTime @1610954249 {#2219 date: 2021-01-18 16:17:29.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1611048749 {#2218 date: 2021-01-19 18:32:29.0 Asia/Tokyo (+09:00) } -ProductCategories: PersistentCollection {#2216 …} -Children: PersistentCollection {#2213 …} -Parent: null -Creator: Member {#2236 …} -AnnotationReader: AnnotationReader {#375 …} +en: "gift" } "name" => null ] } "constraints" => null "groups" => null ]