| Input props |
[
"hookableMetadata" => Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#28580
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#28573 …}
+context: Sylius\TwigHooks\Bag\DataBag {#28579 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#28578 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
"resource" => App\Entity\Product\ProductReview {#7004
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7636
#id: 2123
#code: "creazy-shaker-a-chantilly-5266"
#attributes: Doctrine\ORM\PersistentCollection {#8022 …}
#variants: Doctrine\ORM\PersistentCollection {#8245 …}
#options: Doctrine\ORM\PersistentCollection {#8373 …}
#associations: Doctrine\ORM\PersistentCollection {#8313 …}
#createdAt: DateTime @1758632462 {#7644
date: 2025-09-23 21:01:02.0 PRC (+08:00)
}
#updatedAt: DateTime @1758632462 {#7608
date: 2025-09-23 21:01:02.0 PRC (+08:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8372 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#8375
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#7636}
#id: 2123
#name: "Creazy Shaker à chantilly"
#slug: "creazy-shaker-a-chantilly-5266"
#description: """
<div class="col is-12"><ul>\n
<li>La façon la plus simple de faire de la chantilly.</li>\n
<li>Ecologique, sans cartouche de CO2 ni électricité.</li>\n
<li>Economique.</li>\n
</ul></div><h1>Description Creazy Shaker à chantilly</h1><div class="col is-12">Creazy se compose d'un bocal en verre et de 3 billes pour pouvoir réaliser le plus simplement du monde une délicieuse chantilly maison. Il suffit de placer dans le bocal de la crème et du sucre, de secouer pendant une minute, c'est prêt ! Le secret du système réside dans la forme très étudiée des billes silicone capable de créer une émulsion parfaite pour obtenir une chantilly bien ferme. Celle-ci peut ensuite être conservée dans le bocal placé au réfrigérateur.</div><h1>Caractéristiques Creazy Shaker à chantilly</h1><div class="col is-12">Bocal en verre gradué. 3 billes en silicone. Garantie 2 ans.</div>
"""
#metaKeywords: null
#metaDescription: null
#shortDescription: null
-fullTitle: null
-metaTitle: null
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#7776 …}
#channels: Doctrine\ORM\PersistentCollection {#7881 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7633 …}
#reviews: Doctrine\ORM\PersistentCollection {#7789 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7883 …}
#productType: null
}
#createdAt: DateTime @1771148331 {#7005
date: 2026-02-15 17:38:51.739160 PRC (+08:00)
}
#updatedAt: null
}
"form" => Symfony\Component\Form\FormView {#12612
+vars: [
"value" => App\Entity\Product\ProductReview {#7004}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#12612}
"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 {#12357
-errors: []
-form: Symfony\Component\Form\Form {#12319 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7004}
"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 {#12656
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12656}
"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 {#12647
-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" => true
"method" => "POST"
"action" => ""
"submitted" => false
"multiple" => false
"expanded" => true
"preferred_choices" => []
"choices" => [
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12268
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12282
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12267
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12266
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12265
+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) {#12645
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12642
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12642}
"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 {#12619
-errors: []
-form: Symfony\Component\Form\Form {#12385 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12643
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12643}
"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 {#12600
-errors: []
-form: Symfony\Component\Form\Form {#12388 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12611
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12611}
"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 {#12620
-errors: []
-form: Symfony\Component\Form\Form {#12391 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12348
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12348}
"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 {#12336
-errors: []
-form: Symfony\Component\Form\Form {#12394 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12312
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12312}
"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 {#12298
-errors: []
-form: Symfony\Component\Form\Form {#12397 …}
}
"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 {#12656}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12612}
}
"title" => Symfony\Component\Form\FormView {#12644
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12644}
"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 {#12640
-errors: []
-form: Symfony\Component\Form\Form {#12400 …}
}
"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 {#12612}
}
"comment" => Symfony\Component\Form\FormView {#12257
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12257}
"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 {#12376
-errors: []
-form: Symfony\Component\Form\Form {#12403 …}
}
"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 {#12612}
}
"author" => Symfony\Component\Form\FormView {#12652
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12652}
"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 {#12653
-errors: []
-form: Symfony\Component\Form\Form {#12605 …}
}
"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 {#12649
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12649}
"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 {#12657
-errors: []
-form: Symfony\Component\Form\Form {#12608 …}
}
"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 {#12652}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12612}
}
"_token" => Symfony\Component\Form\FormView {#12662
+vars: [
"value" => "647146ad904fc1fcb35eb507.95XRDFVkya13uTasmJM3RQ7m-SBJ1sxdLOhVFy-GImY.tvfpRmMLue469kWbwPUGMVujllgvoZQLGKEZWGrLRCCwrOk1OBb8mT2Adw"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12662}
"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 {#12671
-errors: []
-form: Symfony\Component\Form\Form {#12667 …}
}
"valid" => true
"data" => "647146ad904fc1fcb35eb507.95XRDFVkya13uTasmJM3RQ7m-SBJ1sxdLOhVFy-GImY.tvfpRmMLue469kWbwPUGMVujllgvoZQLGKEZWGrLRCCwrOk1OBb8mT2Adw"
"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 {#12612}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
"template" => "@SyliusShop/product_review/create/content/main/form.html.twig"
] |
| Component |
Sylius\Bundle\UiBundle\Twig\Component\ResourceFormComponent {#28591
-formView: Symfony\Component\Form\FormView {#12612
+vars: [
"value" => App\Entity\Product\ProductReview {#7004
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7636
#id: 2123
#code: "creazy-shaker-a-chantilly-5266"
#attributes: Doctrine\ORM\PersistentCollection {#8022 …}
#variants: Doctrine\ORM\PersistentCollection {#8245 …}
#options: Doctrine\ORM\PersistentCollection {#8373 …}
#associations: Doctrine\ORM\PersistentCollection {#8313 …}
#createdAt: DateTime @1758632462 {#7644
date: 2025-09-23 21:01:02.0 PRC (+08:00)
}
#updatedAt: DateTime @1758632462 {#7608
date: 2025-09-23 21:01:02.0 PRC (+08:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8372 …}
#translationsCache: [
"fr_FR" => App\Entity\Product\ProductTranslation {#8375
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#7636}
#id: 2123
#name: "Creazy Shaker à chantilly"
#slug: "creazy-shaker-a-chantilly-5266"
#description: """
<div class="col is-12"><ul>\n
<li>La façon la plus simple de faire de la chantilly.</li>\n
<li>Ecologique, sans cartouche de CO2 ni électricité.</li>\n
<li>Economique.</li>\n
</ul></div><h1>Description Creazy Shaker à chantilly</h1><div class="col is-12">Creazy se compose d'un bocal en verre et de 3 billes pour pouvoir réaliser le plus simplement du monde une délicieuse chantilly maison. Il suffit de placer dans le bocal de la crème et du sucre, de secouer pendant une minute, c'est prêt ! Le secret du système réside dans la forme très étudiée des billes silicone capable de créer une émulsion parfaite pour obtenir une chantilly bien ferme. Celle-ci peut ensuite être conservée dans le bocal placé au réfrigérateur.</div><h1>Caractéristiques Creazy Shaker à chantilly</h1><div class="col is-12">Bocal en verre gradué. 3 billes en silicone. Garantie 2 ans.</div>
"""
#metaKeywords: null
#metaDescription: null
#shortDescription: null
-fullTitle: null
-metaTitle: null
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#7776 …}
#channels: Doctrine\ORM\PersistentCollection {#7881 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7633 …}
#reviews: Doctrine\ORM\PersistentCollection {#7789 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7883 …}
#productType: null
}
#createdAt: DateTime @1771148331 {#7005
date: 2026-02-15 17:38:51.739160 PRC (+08:00)
}
#updatedAt: null
}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#12612}
"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 {#12357
-errors: []
-form: Symfony\Component\Form\Form {#12319 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7004}
"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 {#12656
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12656}
"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 {#12647
-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" => true
"method" => "POST"
"action" => ""
"submitted" => false
"multiple" => false
"expanded" => true
"preferred_choices" => []
"choices" => [
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12268
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12282
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12267
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12266
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#12265
+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) {#12645
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12642
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12642}
"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 {#12619
-errors: []
-form: Symfony\Component\Form\Form {#12385 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12643
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12643}
"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 {#12600
-errors: []
-form: Symfony\Component\Form\Form {#12388 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12611
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12611}
"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 {#12620
-errors: []
-form: Symfony\Component\Form\Form {#12391 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12348
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12348}
"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 {#12336
-errors: []
-form: Symfony\Component\Form\Form {#12394 …}
}
"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 {#12656}
}
Symfony\Component\Form\FormView {#12312
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12312}
"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 {#12298
-errors: []
-form: Symfony\Component\Form\Form {#12397 …}
}
"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 {#12656}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12612}
}
"title" => Symfony\Component\Form\FormView {#12644
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12644}
"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 {#12640
-errors: []
-form: Symfony\Component\Form\Form {#12400 …}
}
"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 {#12612}
}
"comment" => Symfony\Component\Form\FormView {#12257
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12257}
"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 {#12376
-errors: []
-form: Symfony\Component\Form\Form {#12403 …}
}
"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 {#12612}
}
"author" => Symfony\Component\Form\FormView {#12652
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12652}
"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 {#12653
-errors: []
-form: Symfony\Component\Form\Form {#12605 …}
}
"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 {#12649
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12649}
"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 {#12657
-errors: []
-form: Symfony\Component\Form\Form {#12608 …}
}
"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 {#12652}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#12612}
}
"_token" => Symfony\Component\Form\FormView {#12662
+vars: [
"value" => "647146ad904fc1fcb35eb507.95XRDFVkya13uTasmJM3RQ7m-SBJ1sxdLOhVFy-GImY.tvfpRmMLue469kWbwPUGMVujllgvoZQLGKEZWGrLRCCwrOk1OBb8mT2Adw"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12662}
"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 {#12671
-errors: []
-form: Symfony\Component\Form\Form {#12667 …}
}
"valid" => true
"data" => "647146ad904fc1fcb35eb507.95XRDFVkya13uTasmJM3RQ7m-SBJ1sxdLOhVFy-GImY.tvfpRmMLue469kWbwPUGMVujllgvoZQLGKEZWGrLRCCwrOk1OBb8mT2Adw"
"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 {#12612}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
-form: null
+formName: "sylius_shop_product_review"
+formValues: [
"rating" => ""
"title" => ""
"comment" => ""
"author" => [
"email" => ""
]
"_token" => "647146ad904fc1fcb35eb507.95XRDFVkya13uTasmJM3RQ7m-SBJ1sxdLOhVFy-GImY.tvfpRmMLue469kWbwPUGMVujllgvoZQLGKEZWGrLRCCwrOk1OBb8mT2Adw"
]
+isValidated: false
+validatedFields: []
-shouldAutoSubmitForm: true
+template: "@SyliusShop/product_review/create/content/main/form.html.twig"
+resource: App\Entity\Product\ProductReview {#7004}
#repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository {#6914 …}
#formFactory: Symfony\Component\Form\FormFactory {#7175 …}
#resourceClass: "App\Entity\Product\ProductReview"
#formClass: "Sylius\Bundle\ShopBundle\Form\Type\Product\ProductReviewType"
+hookableMetadata: Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#28580
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#28573 …}
+context: Sylius\TwigHooks\Bag\DataBag {#28579 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#28578 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
} |