| Input props |
[
"hookableMetadata" => Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#19748
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#19741 …}
+context: Sylius\TwigHooks\Bag\DataBag {#19747 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#19746 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
"resource" => App\Entity\Product\ProductReview {#9216
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7723
#id: 974
#code: "CONNECTITDS48V"
#attributes: Doctrine\ORM\PersistentCollection {#8271 …}
#variants: Doctrine\ORM\PersistentCollection {#8484 …}
#options: Doctrine\ORM\PersistentCollection {#8612 …}
#associations: Doctrine\ORM\PersistentCollection {#8552 …}
#createdAt: DateTime @1764670866 {#7695
date: 2025-12-02 10:21:06.0 UTC (+00:00)
}
#updatedAt: DateTime @1764670866 {#7799
date: 2025-12-02 10:21:06.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8611 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#8614
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#7723}
#id: 974
#name: "PRO-JECT CONNECT-IT Câble d'Alimentation DS 48V/48V"
#slug: "pro-ject-connect-it-cable-d-alimentation-ds-48v-48v-"
#description: """
• Câble de connexion pour POWER BOX avec des appareils Box-Design.\n
• Connecteur circulaire 2x48V vers un autre connecteur circulaire 2x48V.\n
• Vérifiez sur le tableau du site web de Box-Design quel câble est nécessaire pour votre combinaison personnelle entre un Power Box et votre appareil Box-design.\n
\n
Les Longueurs suivantes sont disponibles: 0,205 m / 0,41 m / 0,82 m / 1,23 m / 1,85 m\u{A0}
"""
#metaKeywords: null
#metaDescription: "Câble d'Alimentation Spécialement conçu pour l'Audio"
#shortDescription: "Câble d'Alimentation ayant pour fonction d'optimiser la liaison entre vos appareils BOX Design et un POWER BOX."
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8048 …}
#channels: Doctrine\ORM\PersistentCollection {#8130 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7716 …}
#reviews: Doctrine\ORM\PersistentCollection {#8052 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8132 …}
#productType: null
-brand: Proxies\__CG__\Rika\SyliusBrandPlugin\Entity\Brand {#7927 …}
}
#createdAt: DateTime @1768150097 {#7506
date: 2026-01-11 16:48:17.298963 UTC (+00:00)
}
#updatedAt: null
}
"form" => Symfony\Component\Form\FormView {#13260
+vars: [
"value" => App\Entity\Product\ProductReview {#9216}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#13260}
"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 {#13005
-errors: []
-form: Symfony\Component\Form\Form {#12967 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#9216}
"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 {#13304
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13304}
"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 {#13295
-errors: []
-form: Symfony\Component\Form\Form {#13030 …}
}
"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 {#12916
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12930
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12915
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12914
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12913
+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) {#13293
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#13290
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13290}
"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 {#13267
-errors: []
-form: Symfony\Component\Form\Form {#13033 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#13291
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13291}
"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 {#13248
-errors: []
-form: Symfony\Component\Form\Form {#13036 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#13259
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13259}
"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 {#13268
-errors: []
-form: Symfony\Component\Form\Form {#13039 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#12996
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12996}
"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 {#12984
-errors: []
-form: Symfony\Component\Form\Form {#13042 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#12960
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12960}
"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 {#12946
-errors: []
-form: Symfony\Component\Form\Form {#13045 …}
}
"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 {#13304}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#13260}
}
"title" => Symfony\Component\Form\FormView {#13292
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13292}
"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 {#13288
-errors: []
-form: Symfony\Component\Form\Form {#13048 …}
}
"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 {#13260}
}
"comment" => Symfony\Component\Form\FormView {#12905
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12905}
"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 {#13024
-errors: []
-form: Symfony\Component\Form\Form {#13051 …}
}
"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 {#13260}
}
"author" => Symfony\Component\Form\FormView {#13300
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#13300}
"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 {#13301
-errors: []
-form: Symfony\Component\Form\Form {#13253 …}
}
"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 {#13297
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13297}
"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 {#13305
-errors: []
-form: Symfony\Component\Form\Form {#13256 …}
}
"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 {#13300}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#13260}
}
"_token" => Symfony\Component\Form\FormView {#13310
+vars: [
"value" => "f669ec0c385ad3138be.MoD0-mye8FGmdRD-w9tSl4QcsQ9hRvvoB2RMWNgf2tQ.Cuy7ohiuv2LLM0ikresTo85aiXYuM7eHdg8DAL5PqpJ37qG3C8TIIv4TJA"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#13310}
"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 {#13319
-errors: []
-form: Symfony\Component\Form\Form {#13315 …}
}
"valid" => true
"data" => "f669ec0c385ad3138be.MoD0-mye8FGmdRD-w9tSl4QcsQ9hRvvoB2RMWNgf2tQ.Cuy7ohiuv2LLM0ikresTo85aiXYuM7eHdg8DAL5PqpJ37qG3C8TIIv4TJA"
"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 {#13260}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
"template" => "@SyliusShop/product_review/create/content/main/form.html.twig"
] |
| Component |
Sylius\Bundle\UiBundle\Twig\Component\ResourceFormComponent {#19759
-formView: Symfony\Component\Form\FormView {#13260
+vars: [
"value" => App\Entity\Product\ProductReview {#9216
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7723
#id: 974
#code: "CONNECTITDS48V"
#attributes: Doctrine\ORM\PersistentCollection {#8271 …}
#variants: Doctrine\ORM\PersistentCollection {#8484 …}
#options: Doctrine\ORM\PersistentCollection {#8612 …}
#associations: Doctrine\ORM\PersistentCollection {#8552 …}
#createdAt: DateTime @1764670866 {#7695
date: 2025-12-02 10:21:06.0 UTC (+00:00)
}
#updatedAt: DateTime @1764670866 {#7799
date: 2025-12-02 10:21:06.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8611 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#8614
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#7723}
#id: 974
#name: "PRO-JECT CONNECT-IT Câble d'Alimentation DS 48V/48V"
#slug: "pro-ject-connect-it-cable-d-alimentation-ds-48v-48v-"
#description: """
• Câble de connexion pour POWER BOX avec des appareils Box-Design.\n
• Connecteur circulaire 2x48V vers un autre connecteur circulaire 2x48V.\n
• Vérifiez sur le tableau du site web de Box-Design quel câble est nécessaire pour votre combinaison personnelle entre un Power Box et votre appareil Box-design.\n
\n
Les Longueurs suivantes sont disponibles: 0,205 m / 0,41 m / 0,82 m / 1,23 m / 1,85 m\u{A0}
"""
#metaKeywords: null
#metaDescription: "Câble d'Alimentation Spécialement conçu pour l'Audio"
#shortDescription: "Câble d'Alimentation ayant pour fonction d'optimiser la liaison entre vos appareils BOX Design et un POWER BOX."
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8048 …}
#channels: Doctrine\ORM\PersistentCollection {#8130 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7716 …}
#reviews: Doctrine\ORM\PersistentCollection {#8052 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8132 …}
#productType: null
-brand: Proxies\__CG__\Rika\SyliusBrandPlugin\Entity\Brand {#7927 …}
}
#createdAt: DateTime @1768150097 {#7506
date: 2026-01-11 16:48:17.298963 UTC (+00:00)
}
#updatedAt: null
}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#13260}
"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 {#13005
-errors: []
-form: Symfony\Component\Form\Form {#12967 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#9216}
"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 {#13304
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13304}
"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 {#13295
-errors: []
-form: Symfony\Component\Form\Form {#13030 …}
}
"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 {#12916
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12930
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12915
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12914
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12913
+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) {#13293
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#13290
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13290}
"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 {#13267
-errors: []
-form: Symfony\Component\Form\Form {#13033 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#13291
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13291}
"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 {#13248
-errors: []
-form: Symfony\Component\Form\Form {#13036 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#13259
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#13259}
"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 {#13268
-errors: []
-form: Symfony\Component\Form\Form {#13039 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#12996
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12996}
"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 {#12984
-errors: []
-form: Symfony\Component\Form\Form {#13042 …}
}
"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 {#13304}
}
Symfony\Component\Form\FormView {#12960
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12960}
"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 {#12946
-errors: []
-form: Symfony\Component\Form\Form {#13045 …}
}
"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 {#13304}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#13260}
}
"title" => Symfony\Component\Form\FormView {#13292
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13292}
"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 {#13288
-errors: []
-form: Symfony\Component\Form\Form {#13048 …}
}
"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 {#13260}
}
"comment" => Symfony\Component\Form\FormView {#12905
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12905}
"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 {#13024
-errors: []
-form: Symfony\Component\Form\Form {#13051 …}
}
"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 {#13260}
}
"author" => Symfony\Component\Form\FormView {#13300
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#13300}
"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 {#13301
-errors: []
-form: Symfony\Component\Form\Form {#13253 …}
}
"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 {#13297
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#13297}
"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 {#13305
-errors: []
-form: Symfony\Component\Form\Form {#13256 …}
}
"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 {#13300}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#13260}
}
"_token" => Symfony\Component\Form\FormView {#13310
+vars: [
"value" => "f669ec0c385ad3138be.MoD0-mye8FGmdRD-w9tSl4QcsQ9hRvvoB2RMWNgf2tQ.Cuy7ohiuv2LLM0ikresTo85aiXYuM7eHdg8DAL5PqpJ37qG3C8TIIv4TJA"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#13310}
"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 {#13319
-errors: []
-form: Symfony\Component\Form\Form {#13315 …}
}
"valid" => true
"data" => "f669ec0c385ad3138be.MoD0-mye8FGmdRD-w9tSl4QcsQ9hRvvoB2RMWNgf2tQ.Cuy7ohiuv2LLM0ikresTo85aiXYuM7eHdg8DAL5PqpJ37qG3C8TIIv4TJA"
"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 {#13260}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
-form: null
+formName: "sylius_shop_product_review"
+formValues: [
"rating" => ""
"title" => ""
"comment" => ""
"author" => [
"email" => ""
]
"_token" => "f669ec0c385ad3138be.MoD0-mye8FGmdRD-w9tSl4QcsQ9hRvvoB2RMWNgf2tQ.Cuy7ohiuv2LLM0ikresTo85aiXYuM7eHdg8DAL5PqpJ37qG3C8TIIv4TJA"
]
+isValidated: false
+validatedFields: []
-shouldAutoSubmitForm: true
+template: "@SyliusShop/product_review/create/content/main/form.html.twig"
+resource: App\Entity\Product\ProductReview {#9216}
#repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository {#7067 …}
#formFactory: Symfony\Component\Form\FormFactory {#7326 …}
#resourceClass: "App\Entity\Product\ProductReview"
#formClass: "Sylius\Bundle\ShopBundle\Form\Type\Product\ProductReviewType"
+hookableMetadata: Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#19748
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#19741 …}
+context: Sylius\TwigHooks\Bag\DataBag {#19747 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#19746 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
} |