Input props |
[
"hookableMetadata" => Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#10557
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#10551 …}
+context: Sylius\TwigHooks\Bag\DataBag {#10552 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#10553 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
"resource" => App\Entity\Product\ProductReview {#5896
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#6033
#id: 2
#code: "2021TE-0032"
#attributes: Doctrine\ORM\PersistentCollection {#6149 …}
#variants: Doctrine\ORM\PersistentCollection {#6200 …}
#options: Doctrine\ORM\PersistentCollection {#6252 …}
#associations: Doctrine\ORM\PersistentCollection {#6236 …}
#createdAt: DateTime @1733320211 {#6041
date: 2024-12-04 13:50:11.0 UTC (+00:00)
}
#updatedAt: DateTime @1733320513 {#6005
date: 2024-12-04 13:55:13.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#6254 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#6246
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#6033}
#id: 2
#name: "Carburateur D.18 GY6 139QMA/B Agility V-clic Kisbee 4T"
#slug: "carburateur-d-18-gy6-139qma-b-agility-v-clic-kisbee-4t"
#description: "Un carburateur adaptable sur les scooters 4 temps chinois 50cc de diamètre 18mm (origine) pour votre moteur GY 6139 QMB QMA. Compatible sur les scooter 4 temps 50cm3 Kymco Agility, Sym Orbit, Peugeot V-clic et Kisbee, Baotian BT49QT."
#metaKeywords: null
#metaDescription: null
#shortDescription: null
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#6017 …}
#channels: Doctrine\ORM\PersistentCollection {#6075 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6031 …}
#reviews: Doctrine\ORM\PersistentCollection {#6008 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#6099 …}
}
#createdAt: DateTime @1751682441 {#5938
date: 2025-07-05 02:27:21.941953 UTC (+00:00)
}
#updatedAt: null
}
"form" => Symfony\Component\Form\FormView {#8715
+vars: [
"value" => App\Entity\Product\ProductReview {#5896}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#8715}
"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 {#8811
-errors: []
-form: Symfony\Component\Form\Form {#8759 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#5896}
"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 {#8784
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8784}
"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 {#8775
-errors: []
-form: Symfony\Component\Form\Form {#8817 …}
}
"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 {#8725
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8727
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8724
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8723
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8726
+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) {#8908
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#8934
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8934}
"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 {#8935
-errors: []
-form: Symfony\Component\Form\Form {#8820 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8962
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8962}
"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 {#8936
-errors: []
-form: Symfony\Component\Form\Form {#8823 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8965
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8965}
"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 {#8964
-errors: []
-form: Symfony\Component\Form\Form {#8826 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8967
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8967}
"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 {#8966
-errors: []
-form: Symfony\Component\Form\Form {#8829 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8971
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8971}
"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 {#8969
-errors: []
-form: Symfony\Component\Form\Form {#8832 …}
}
"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 {#8784}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#8715}
}
"title" => Symfony\Component\Form\FormView {#8922
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8922}
"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 {#8933
-errors: []
-form: Symfony\Component\Form\Form {#8835 …}
}
"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 {#8715}
}
"comment" => Symfony\Component\Form\FormView {#8972
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8972}
"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 {#8973
-errors: []
-form: Symfony\Component\Form\Form {#8838 …}
}
"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 {#8715}
}
"author" => Symfony\Component\Form\FormView {#8975
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#8975}
"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 {#8974
-errors: []
-form: Symfony\Component\Form\Form {#8927 …}
}
"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 {#8978
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8978}
"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 {#8979
-errors: []
-form: Symfony\Component\Form\Form {#8930 …}
}
"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 {#8975}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#8715}
}
"_token" => Symfony\Component\Form\FormView {#8984
+vars: [
"value" => "csrf-token"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#8984}
"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 {#8993
-errors: []
-form: Symfony\Component\Form\Form {#8989 …}
}
"valid" => true
"data" => "csrf-token"
"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 {#8715}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
"template" => "@SyliusShop/product_review/create/content/main/form.html.twig"
] |
Component |
Sylius\Bundle\UiBundle\Twig\Component\ResourceFormComponent {#10565
-formView: Symfony\Component\Form\FormView {#8715
+vars: [
"value" => App\Entity\Product\ProductReview {#5896
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#6033
#id: 2
#code: "2021TE-0032"
#attributes: Doctrine\ORM\PersistentCollection {#6149 …}
#variants: Doctrine\ORM\PersistentCollection {#6200 …}
#options: Doctrine\ORM\PersistentCollection {#6252 …}
#associations: Doctrine\ORM\PersistentCollection {#6236 …}
#createdAt: DateTime @1733320211 {#6041
date: 2024-12-04 13:50:11.0 UTC (+00:00)
}
#updatedAt: DateTime @1733320513 {#6005
date: 2024-12-04 13:55:13.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#6254 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#6246
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#6033}
#id: 2
#name: "Carburateur D.18 GY6 139QMA/B Agility V-clic Kisbee 4T"
#slug: "carburateur-d-18-gy6-139qma-b-agility-v-clic-kisbee-4t"
#description: "Un carburateur adaptable sur les scooters 4 temps chinois 50cc de diamètre 18mm (origine) pour votre moteur GY 6139 QMB QMA. Compatible sur les scooter 4 temps 50cm3 Kymco Agility, Sym Orbit, Peugeot V-clic et Kisbee, Baotian BT49QT."
#metaKeywords: null
#metaDescription: null
#shortDescription: null
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#6017 …}
#channels: Doctrine\ORM\PersistentCollection {#6075 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6031 …}
#reviews: Doctrine\ORM\PersistentCollection {#6008 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#6099 …}
}
#createdAt: DateTime @1751682441 {#5938
date: 2025-07-05 02:27:21.941953 UTC (+00:00)
}
#updatedAt: null
}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#8715}
"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 {#8811
-errors: []
-form: Symfony\Component\Form\Form {#8759 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#5896}
"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 {#8784
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8784}
"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 {#8775
-errors: []
-form: Symfony\Component\Form\Form {#8817 …}
}
"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 {#8725
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8727
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8724
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8723
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#8726
+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) {#8908
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#8934
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8934}
"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 {#8935
-errors: []
-form: Symfony\Component\Form\Form {#8820 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8962
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8962}
"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 {#8936
-errors: []
-form: Symfony\Component\Form\Form {#8823 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8965
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8965}
"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 {#8964
-errors: []
-form: Symfony\Component\Form\Form {#8826 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8967
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8967}
"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 {#8966
-errors: []
-form: Symfony\Component\Form\Form {#8829 …}
}
"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 {#8784}
}
Symfony\Component\Form\FormView {#8971
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#8971}
"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 {#8969
-errors: []
-form: Symfony\Component\Form\Form {#8832 …}
}
"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 {#8784}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#8715}
}
"title" => Symfony\Component\Form\FormView {#8922
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8922}
"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 {#8933
-errors: []
-form: Symfony\Component\Form\Form {#8835 …}
}
"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 {#8715}
}
"comment" => Symfony\Component\Form\FormView {#8972
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8972}
"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 {#8973
-errors: []
-form: Symfony\Component\Form\Form {#8838 …}
}
"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 {#8715}
}
"author" => Symfony\Component\Form\FormView {#8975
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#8975}
"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 {#8974
-errors: []
-form: Symfony\Component\Form\Form {#8927 …}
}
"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 {#8978
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#8978}
"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 {#8979
-errors: []
-form: Symfony\Component\Form\Form {#8930 …}
}
"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 {#8975}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#8715}
}
"_token" => Symfony\Component\Form\FormView {#8984
+vars: [
"value" => "csrf-token"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#8984}
"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 {#8993
-errors: []
-form: Symfony\Component\Form\Form {#8989 …}
}
"valid" => true
"data" => "csrf-token"
"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 {#8715}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
-form: null
+formName: "sylius_shop_product_review"
+formValues: [
"rating" => ""
"title" => ""
"comment" => ""
"author" => [
"email" => ""
]
"_token" => "csrf-token"
]
+isValidated: false
+validatedFields: []
-shouldAutoSubmitForm: true
+template: "@SyliusShop/product_review/create/content/main/form.html.twig"
+resource: App\Entity\Product\ProductReview {#5896}
#repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository {#5605 …}
#formFactory: Symfony\Component\Form\FormFactory {#5758 …}
#resourceClass: "App\Entity\Product\ProductReview"
#formClass: "Sylius\Bundle\ShopBundle\Form\Type\Product\ProductReviewType"
+hookableMetadata: Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#10557
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#10551 …}
+context: Sylius\TwigHooks\Bag\DataBag {#10552 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#10553 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
} |