| Input props |
[
"hookableMetadata" => Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#14624
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#14617 …}
+context: Sylius\TwigHooks\Bag\DataBag {#14623 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#14622 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
"resource" => App\Entity\Product\ProductReview {#7276
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7600
#id: 185
#code: "L-2615"
#attributes: Doctrine\ORM\PersistentCollection {#7980 …}
#variants: Doctrine\ORM\PersistentCollection {#8193 …}
#options: Doctrine\ORM\PersistentCollection {#8321 …}
#associations: Doctrine\ORM\PersistentCollection {#8261 …}
#createdAt: DateTime @1760544878 {#7608
date: 2025-10-15 16:14:38.0 UTC (+00:00)
}
#updatedAt: DateTime @1760545765 {#7572
date: 2025-10-15 16:29:25.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8320 …}
#translationsCache: [
"en_US" => App\Entity\Product\ProductTranslation {#8323
#locale: "en_US"
#translatable: App\Entity\Product\Product {#7600}
#id: 1413
#name: "Backpack L-2615"
#slug: "backpack-l-2615"
#description: "This rucksack is a special piece. Extremely stylish, it combines a messenger bag with a rucksack. It has adjustable straps. The zip top folds down and is secured with a satchel buckle. There is a zip compartment under the flap and at the back. Inside, there is a separate main compartment, two zip compartments, two small compartments for mobile phones, etc. and a few pen holders."
#metaKeywords: null
#metaDescription: null
#shortDescription: "Large fair trade rucksack. Thick cowhide leather. Available in various colours and finishes."
}
]
#currentLocale: "en_US"
#currentTranslation: null
#fallbackLocale: "en_US"
#variantSelectionMethod: "match"
#productTaxons: Doctrine\ORM\PersistentCollection {#7734 …}
#channels: Doctrine\ORM\PersistentCollection {#7839 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7597 …}
#reviews: Doctrine\ORM\PersistentCollection {#7747 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7841 …}
#productType: null
}
#createdAt: DateTime @1768471330 {#7318
date: 2026-01-15 10:02:10.933112 UTC (+00:00)
}
#updatedAt: null
}
"form" => Symfony\Component\Form\FormView {#12259
+vars: [
"value" => App\Entity\Product\ProductReview {#7276}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#12259}
"id" => "sylius_shop_product_review"
"name" => "sylius_shop_product_review"
"full_name" => "sylius_shop_product_review"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"sylius_product_review"
"sylius_shop_product_review"
"_sylius_shop_product_review"
]
"unique_block_prefix" => "_sylius_shop_product_review"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_sylius_shop_product_review"
"errors" => Symfony\Component\Form\FormErrorIterator {#12355
-errors: []
-form: Symfony\Component\Form\Form {#12303 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7276}
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"rating" => Symfony\Component\Form\FormView {#12328
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12328}
"id" => "sylius_shop_product_review_rating"
"name" => "rating"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "sylius.form.review.rating"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"choice"
"_sylius_shop_product_review_rating"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_choice"
"errors" => Symfony\Component\Form\FormErrorIterator {#12319
-errors: []
-form: Symfony\Component\Form\Form {#12361 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
"multiple" => false
"expanded" => true
"preferred_choices" => []
"choices" => [
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12266
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12267
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12268
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12269
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12270
+data: 5
+value: "5"
+label: "5"
+attr: []
+labelTranslationParameters: []
}
]
"separator" => "-------------------"
"separator_html" => false
"placeholder" => null
"placeholder_attr" => []
"choice_translation_domain" => null
"choice_translation_parameters" => []
"is_selected" => Closure($choice, $value) {#12565
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12591
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12591}
"id" => "sylius_shop_product_review_rating_0"
"name" => "0"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "1"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12592
-errors: []
-form: Symfony\Component\Form\Form {#12364 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12619
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12619}
"id" => "sylius_shop_product_review_rating_1"
"name" => "1"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "2"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12593
-errors: []
-form: Symfony\Component\Form\Form {#12367 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12622
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12622}
"id" => "sylius_shop_product_review_rating_2"
"name" => "2"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "3"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12621
-errors: []
-form: Symfony\Component\Form\Form {#12370 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12624
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12624}
"id" => "sylius_shop_product_review_rating_3"
"name" => "3"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "4"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12623
-errors: []
-form: Symfony\Component\Form\Form {#12373 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12628
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12628}
"id" => "sylius_shop_product_review_rating_4"
"name" => "4"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "5"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12626
-errors: []
-form: Symfony\Component\Form\Form {#12376 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"title" => Symfony\Component\Form\FormView {#12579
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12579}
"id" => "sylius_shop_product_review_title"
"name" => "title"
"full_name" => "sylius_shop_product_review[title]"
"disabled" => false
"label" => "sylius.form.review.title"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"_sylius_shop_product_review_title"
]
"unique_block_prefix" => "_sylius_shop_product_review_title"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_title_text"
"errors" => Symfony\Component\Form\FormErrorIterator {#12590
-errors: []
-form: Symfony\Component\Form\Form {#12379 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"comment" => Symfony\Component\Form\FormView {#12629
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12629}
"id" => "sylius_shop_product_review_comment"
"name" => "comment"
"full_name" => "sylius_shop_product_review[comment]"
"disabled" => false
"label" => "sylius.form.review.comment"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"textarea"
"_sylius_shop_product_review_comment"
]
"unique_block_prefix" => "_sylius_shop_product_review_comment"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_comment_textarea"
"errors" => Symfony\Component\Form\FormErrorIterator {#12630
-errors: []
-form: Symfony\Component\Form\Form {#12382 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"pattern" => null
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"author" => Symfony\Component\Form\FormView {#12632
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12632}
"id" => "sylius_shop_product_review_author"
"name" => "author"
"full_name" => "sylius_shop_product_review[author]"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"sylius_customer_guest"
"_sylius_shop_product_review_author"
]
"unique_block_prefix" => "_sylius_shop_product_review_author"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_author_sylius_customer_guest"
"errors" => Symfony\Component\Form\FormErrorIterator {#12631
-errors: []
-form: Symfony\Component\Form\Form {#12584 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"email" => Symfony\Component\Form\FormView {#12635
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12635}
"id" => "sylius_shop_product_review_author_email"
"name" => "email"
"full_name" => "sylius_shop_product_review[author][email]"
"disabled" => false
"label" => "sylius.form.customer.email"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"email"
"_sylius_shop_product_review_author_email"
]
"unique_block_prefix" => "_sylius_shop_product_review_author_email"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_author_email_email"
"errors" => Symfony\Component\Form\FormErrorIterator {#12636
-errors: []
-form: Symfony\Component\Form\Form {#12587 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12632}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"_token" => Symfony\Component\Form\FormView {#12641
+vars: [
"value" => "3a2dde0b0bd2a4a.7gwNb2mYXuvr_3j48tWpmKba4am3d8-6mL1749Rpn7Q.mmhLVi_HG6GktxaUmaPP0pWAjs_GBpaKqPQrjpAw9u2JR3tZK_Q606ixFw"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12641}
"id" => "sylius_shop_product_review__token"
"name" => "_token"
"full_name" => "sylius_shop_product_review[_token]"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"hidden"
"csrf_token"
"_sylius_shop_product_review__token"
]
"unique_block_prefix" => "_sylius_shop_product_review__token"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review__token_hidden"
"errors" => Symfony\Component\Form\FormErrorIterator {#12650
-errors: []
-form: Symfony\Component\Form\Form {#12646 …}
}
"valid" => true
"data" => "3a2dde0b0bd2a4a.7gwNb2mYXuvr_3j48tWpmKba4am3d8-6mL1749Rpn7Q.mmhLVi_HG6GktxaUmaPP0pWAjs_GBpaKqPQrjpAw9u2JR3tZK_Q606ixFw"
"required" => false
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
"template" => "@SyliusShop/product_review/create/content/main/form.html.twig"
] |
| Component |
Sylius\Bundle\UiBundle\Twig\Component\ResourceFormComponent {#14635
-formView: Symfony\Component\Form\FormView {#12259
+vars: [
"value" => App\Entity\Product\ProductReview {#7276
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7600
#id: 185
#code: "L-2615"
#attributes: Doctrine\ORM\PersistentCollection {#7980 …}
#variants: Doctrine\ORM\PersistentCollection {#8193 …}
#options: Doctrine\ORM\PersistentCollection {#8321 …}
#associations: Doctrine\ORM\PersistentCollection {#8261 …}
#createdAt: DateTime @1760544878 {#7608
date: 2025-10-15 16:14:38.0 UTC (+00:00)
}
#updatedAt: DateTime @1760545765 {#7572
date: 2025-10-15 16:29:25.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8320 …}
#translationsCache: [
"en_US" => App\Entity\Product\ProductTranslation {#8323
#locale: "en_US"
#translatable: App\Entity\Product\Product {#7600}
#id: 1413
#name: "Backpack L-2615"
#slug: "backpack-l-2615"
#description: "This rucksack is a special piece. Extremely stylish, it combines a messenger bag with a rucksack. It has adjustable straps. The zip top folds down and is secured with a satchel buckle. There is a zip compartment under the flap and at the back. Inside, there is a separate main compartment, two zip compartments, two small compartments for mobile phones, etc. and a few pen holders."
#metaKeywords: null
#metaDescription: null
#shortDescription: "Large fair trade rucksack. Thick cowhide leather. Available in various colours and finishes."
}
]
#currentLocale: "en_US"
#currentTranslation: null
#fallbackLocale: "en_US"
#variantSelectionMethod: "match"
#productTaxons: Doctrine\ORM\PersistentCollection {#7734 …}
#channels: Doctrine\ORM\PersistentCollection {#7839 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7597 …}
#reviews: Doctrine\ORM\PersistentCollection {#7747 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7841 …}
#productType: null
}
#createdAt: DateTime @1768471330 {#7318
date: 2026-01-15 10:02:10.933112 UTC (+00:00)
}
#updatedAt: null
}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#12259}
"id" => "sylius_shop_product_review"
"name" => "sylius_shop_product_review"
"full_name" => "sylius_shop_product_review"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"sylius_product_review"
"sylius_shop_product_review"
"_sylius_shop_product_review"
]
"unique_block_prefix" => "_sylius_shop_product_review"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_sylius_shop_product_review"
"errors" => Symfony\Component\Form\FormErrorIterator {#12355
-errors: []
-form: Symfony\Component\Form\Form {#12303 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7276}
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"rating" => Symfony\Component\Form\FormView {#12328
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12328}
"id" => "sylius_shop_product_review_rating"
"name" => "rating"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "sylius.form.review.rating"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"choice"
"_sylius_shop_product_review_rating"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_choice"
"errors" => Symfony\Component\Form\FormErrorIterator {#12319
-errors: []
-form: Symfony\Component\Form\Form {#12361 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
"multiple" => false
"expanded" => true
"preferred_choices" => []
"choices" => [
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12266
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12267
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12268
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12269
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12270
+data: 5
+value: "5"
+label: "5"
+attr: []
+labelTranslationParameters: []
}
]
"separator" => "-------------------"
"separator_html" => false
"placeholder" => null
"placeholder_attr" => []
"choice_translation_domain" => null
"choice_translation_parameters" => []
"is_selected" => Closure($choice, $value) {#12565
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12591
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12591}
"id" => "sylius_shop_product_review_rating_0"
"name" => "0"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "1"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12592
-errors: []
-form: Symfony\Component\Form\Form {#12364 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12619
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12619}
"id" => "sylius_shop_product_review_rating_1"
"name" => "1"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "2"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12593
-errors: []
-form: Symfony\Component\Form\Form {#12367 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12622
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12622}
"id" => "sylius_shop_product_review_rating_2"
"name" => "2"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "3"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12621
-errors: []
-form: Symfony\Component\Form\Form {#12370 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12624
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12624}
"id" => "sylius_shop_product_review_rating_3"
"name" => "3"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "4"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12623
-errors: []
-form: Symfony\Component\Form\Form {#12373 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
Symfony\Component\Form\FormView {#12628
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12628}
"id" => "sylius_shop_product_review_rating_4"
"name" => "4"
"full_name" => "sylius_shop_product_review[rating]"
"disabled" => false
"label" => "5"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"checkbox"
"radio"
"_sylius_shop_product_review_rating_entry"
]
"unique_block_prefix" => "_sylius_shop_product_review_rating_entry"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_rating_entry_radio"
"errors" => Symfony\Component\Form\FormErrorIterator {#12626
-errors: []
-form: Symfony\Component\Form\Form {#12376 …}
}
"valid" => true
"data" => false
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"checked" => false
]
+children: []
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12328}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"title" => Symfony\Component\Form\FormView {#12579
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12579}
"id" => "sylius_shop_product_review_title"
"name" => "title"
"full_name" => "sylius_shop_product_review[title]"
"disabled" => false
"label" => "sylius.form.review.title"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"_sylius_shop_product_review_title"
]
"unique_block_prefix" => "_sylius_shop_product_review_title"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_title_text"
"errors" => Symfony\Component\Form\FormErrorIterator {#12590
-errors: []
-form: Symfony\Component\Form\Form {#12379 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"comment" => Symfony\Component\Form\FormView {#12629
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12629}
"id" => "sylius_shop_product_review_comment"
"name" => "comment"
"full_name" => "sylius_shop_product_review[comment]"
"disabled" => false
"label" => "sylius.form.review.comment"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"textarea"
"_sylius_shop_product_review_comment"
]
"unique_block_prefix" => "_sylius_shop_product_review_comment"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_comment_textarea"
"errors" => Symfony\Component\Form\FormErrorIterator {#12630
-errors: []
-form: Symfony\Component\Form\Form {#12382 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"pattern" => null
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"author" => Symfony\Component\Form\FormView {#12632
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12632}
"id" => "sylius_shop_product_review_author"
"name" => "author"
"full_name" => "sylius_shop_product_review[author]"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"sylius_customer_guest"
"_sylius_shop_product_review_author"
]
"unique_block_prefix" => "_sylius_shop_product_review_author"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_author_sylius_customer_guest"
"errors" => Symfony\Component\Form\FormErrorIterator {#12631
-errors: []
-form: Symfony\Component\Form\Form {#12584 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"email" => Symfony\Component\Form\FormView {#12635
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12635}
"id" => "sylius_shop_product_review_author_email"
"name" => "email"
"full_name" => "sylius_shop_product_review[author][email]"
"disabled" => false
"label" => "sylius.form.customer.email"
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"text"
"email"
"_sylius_shop_product_review_author_email"
]
"unique_block_prefix" => "_sylius_shop_product_review_author_email"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review_author_email_email"
"errors" => Symfony\Component\Form\FormErrorIterator {#12636
-errors: []
-form: Symfony\Component\Form\Form {#12587 …}
}
"valid" => true
"data" => null
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
"uses_autocomplete" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12632}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
"_token" => Symfony\Component\Form\FormView {#12641
+vars: [
"value" => "3a2dde0b0bd2a4a.7gwNb2mYXuvr_3j48tWpmKba4am3d8-6mL1749Rpn7Q.mmhLVi_HG6GktxaUmaPP0pWAjs_GBpaKqPQrjpAw9u2JR3tZK_Q606ixFw"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12641}
"id" => "sylius_shop_product_review__token"
"name" => "_token"
"full_name" => "sylius_shop_product_review[_token]"
"disabled" => false
"label" => null
"label_format" => null
"label_html" => false
"multipart" => false
"block_prefixes" => [
"form"
"hidden"
"csrf_token"
"_sylius_shop_product_review__token"
]
"unique_block_prefix" => "_sylius_shop_product_review__token"
"row_attr" => []
"translation_domain" => null
"label_translation_parameters" => []
"attr_translation_parameters" => []
"priority" => 0
"cache_key" => "_sylius_shop_product_review__token_hidden"
"errors" => Symfony\Component\Form\FormErrorIterator {#12650
-errors: []
-form: Symfony\Component\Form\Form {#12646 …}
}
"valid" => true
"data" => "3a2dde0b0bd2a4a.7gwNb2mYXuvr_3j48tWpmKba4am3d8-6mL1749Rpn7Q.mmhLVi_HG6GktxaUmaPP0pWAjs_GBpaKqPQrjpAw9u2JR3tZK_Q606ixFw"
"required" => false
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => false
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: []
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12259}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
-form: null
+formName: "sylius_shop_product_review"
+formValues: [
"rating" => ""
"title" => ""
"comment" => ""
"author" => [
"email" => ""
]
"_token" => "3a2dde0b0bd2a4a.7gwNb2mYXuvr_3j48tWpmKba4am3d8-6mL1749Rpn7Q.mmhLVi_HG6GktxaUmaPP0pWAjs_GBpaKqPQrjpAw9u2JR3tZK_Q606ixFw"
]
+isValidated: false
+validatedFields: []
-shouldAutoSubmitForm: true
+template: "@SyliusShop/product_review/create/content/main/form.html.twig"
+resource: App\Entity\Product\ProductReview {#7276}
#repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository {#6880 …}
#formFactory: Symfony\Component\Form\FormFactory {#7135 …}
#resourceClass: "App\Entity\Product\ProductReview"
#formClass: "Sylius\Bundle\ShopBundle\Form\Type\Product\ProductReviewType"
+hookableMetadata: Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#14624
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#14617 …}
+context: Sylius\TwigHooks\Bag\DataBag {#14623 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#14622 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
} |