| Input props |
[
"hookableMetadata" => Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#14087
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#14080 …}
+context: Sylius\TwigHooks\Bag\DataBag {#14086 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#14085 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
"resource" => App\Entity\Product\ProductReview {#7276
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7600
#id: 177
#code: "L2630"
#attributes: Doctrine\ORM\PersistentCollection {#7980 …}
#variants: Doctrine\ORM\PersistentCollection {#8193 …}
#options: Doctrine\ORM\PersistentCollection {#8321 …}
#associations: Doctrine\ORM\PersistentCollection {#8261 …}
#createdAt: DateTime @1760037917 {#7608
date: 2025-10-09 19:25:17.0 UTC (+00:00)
}
#updatedAt: DateTime @1760039218 {#7572
date: 2025-10-09 19:46:58.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8320 …}
#translationsCache: [
"en_US" => App\Entity\Product\ProductTranslation {#8323
#locale: "en_US"
#translatable: App\Entity\Product\Product {#7600}
#id: 1397
#name: "Crossbody bag L2630"
#slug: "crossbody-bag-L-2630"
#description: """
The bag has an adjustable shoulder strap and three interior compartments. There is also an extra zipped compartment and a mobile phone pocket inside.\r\n
There is also a zip compartment on the back.\r\n
The flap closure is fitted with magnets for easy opening and closing.\r\n
\r\n
Natural leather with cotton lining.\r\n
\r\n
Height, width, depth: 20 cm x 23 cm x 9 cm\r\n
Strap length approx. 135 cm
"""
#metaKeywords: null
#metaDescription: null
#shortDescription: "Unisex vintage handbag from fair trade. Thick cowhide leather. Small, simple, wonderful!"
}
]
#currentLocale: "en_US"
#currentTranslation: null
#fallbackLocale: "en_US"
#variantSelectionMethod: "match"
#productTaxons: Doctrine\ORM\PersistentCollection {#7734 …}
#channels: Doctrine\ORM\PersistentCollection {#7839 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7597 …}
#reviews: Doctrine\ORM\PersistentCollection {#7747 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7841 …}
#productType: null
}
#createdAt: DateTime @1772449267 {#7318
date: 2026-03-02 11:01:07.659917 UTC (+00:00)
}
#updatedAt: null
}
"form" => Symfony\Component\Form\FormView {#11722
+vars: [
"value" => App\Entity\Product\ProductReview {#7276}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#11722}
"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 {#11818
-errors: []
-form: Symfony\Component\Form\Form {#11766 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7276}
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"rating" => Symfony\Component\Form\FormView {#11791
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#11791}
"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 {#11782
-errors: []
-form: Symfony\Component\Form\Form {#11824 …}
}
"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 {#11729
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11730
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11731
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11732
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11733
+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) {#12028
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12054
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12054}
"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 {#12055
-errors: []
-form: Symfony\Component\Form\Form {#11827 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12082
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12082}
"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 {#12056
-errors: []
-form: Symfony\Component\Form\Form {#11830 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12085
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12085}
"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 {#12084
-errors: []
-form: Symfony\Component\Form\Form {#11833 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12087
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12087}
"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 {#12086
-errors: []
-form: Symfony\Component\Form\Form {#11836 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12091
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12091}
"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 {#12089
-errors: []
-form: Symfony\Component\Form\Form {#11839 …}
}
"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 {#11791}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#11722}
}
"title" => Symfony\Component\Form\FormView {#12042
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12042}
"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 {#12053
-errors: []
-form: Symfony\Component\Form\Form {#11842 …}
}
"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 {#11722}
}
"comment" => Symfony\Component\Form\FormView {#12092
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12092}
"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 {#12093
-errors: []
-form: Symfony\Component\Form\Form {#11845 …}
}
"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 {#11722}
}
"author" => Symfony\Component\Form\FormView {#12095
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12095}
"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 {#12094
-errors: []
-form: Symfony\Component\Form\Form {#12047 …}
}
"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 {#12098
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12098}
"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 {#12099
-errors: []
-form: Symfony\Component\Form\Form {#12050 …}
}
"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 {#12095}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#11722}
}
"_token" => Symfony\Component\Form\FormView {#12104
+vars: [
"value" => "0fe6e0c.hujYP4CrqenU8N-JG4_yCb2aJneb7Fg1u1GrgD7odac.x6vufufD_q2hgonlc6KlPYvFE0P4myly1xrMz1KnGPLoqa571tPhuea15w"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12104}
"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 {#12113
-errors: []
-form: Symfony\Component\Form\Form {#12109 …}
}
"valid" => true
"data" => "0fe6e0c.hujYP4CrqenU8N-JG4_yCb2aJneb7Fg1u1GrgD7odac.x6vufufD_q2hgonlc6KlPYvFE0P4myly1xrMz1KnGPLoqa571tPhuea15w"
"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 {#11722}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
"template" => "@SyliusShop/product_review/create/content/main/form.html.twig"
] |
| Component |
Sylius\Bundle\UiBundle\Twig\Component\ResourceFormComponent {#14098
-formView: Symfony\Component\Form\FormView {#11722
+vars: [
"value" => App\Entity\Product\ProductReview {#7276
#id: null
#title: null
#rating: null
#comment: null
#author: null
#status: "new"
#reviewSubject: App\Entity\Product\Product {#7600
#id: 177
#code: "L2630"
#attributes: Doctrine\ORM\PersistentCollection {#7980 …}
#variants: Doctrine\ORM\PersistentCollection {#8193 …}
#options: Doctrine\ORM\PersistentCollection {#8321 …}
#associations: Doctrine\ORM\PersistentCollection {#8261 …}
#createdAt: DateTime @1760037917 {#7608
date: 2025-10-09 19:25:17.0 UTC (+00:00)
}
#updatedAt: DateTime @1760039218 {#7572
date: 2025-10-09 19:46:58.0 UTC (+00:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8320 …}
#translationsCache: [
"en_US" => App\Entity\Product\ProductTranslation {#8323
#locale: "en_US"
#translatable: App\Entity\Product\Product {#7600}
#id: 1397
#name: "Crossbody bag L2630"
#slug: "crossbody-bag-L-2630"
#description: """
The bag has an adjustable shoulder strap and three interior compartments. There is also an extra zipped compartment and a mobile phone pocket inside.\r\n
There is also a zip compartment on the back.\r\n
The flap closure is fitted with magnets for easy opening and closing.\r\n
\r\n
Natural leather with cotton lining.\r\n
\r\n
Height, width, depth: 20 cm x 23 cm x 9 cm\r\n
Strap length approx. 135 cm
"""
#metaKeywords: null
#metaDescription: null
#shortDescription: "Unisex vintage handbag from fair trade. Thick cowhide leather. Small, simple, wonderful!"
}
]
#currentLocale: "en_US"
#currentTranslation: null
#fallbackLocale: "en_US"
#variantSelectionMethod: "match"
#productTaxons: Doctrine\ORM\PersistentCollection {#7734 …}
#channels: Doctrine\ORM\PersistentCollection {#7839 …}
#mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7597 …}
#reviews: Doctrine\ORM\PersistentCollection {#7747 …}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#7841 …}
#productType: null
}
#createdAt: DateTime @1772449267 {#7318
date: 2026-03-02 11:01:07.659917 UTC (+00:00)
}
#updatedAt: null
}
"attr" => [
"data-model" => "on(change)|*"
]
"form" => Symfony\Component\Form\FormView {#11722}
"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 {#11818
-errors: []
-form: Symfony\Component\Form\Form {#11766 …}
}
"valid" => true
"data" => App\Entity\Product\ProductReview {#7276}
"required" => true
"label_attr" => []
"help" => null
"help_attr" => []
"help_html" => false
"help_translation_parameters" => []
"compound" => true
"method" => "POST"
"action" => ""
"submitted" => false
]
+children: [
"rating" => Symfony\Component\Form\FormView {#11791
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#11791}
"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 {#11782
-errors: []
-form: Symfony\Component\Form\Form {#11824 …}
}
"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 {#11729
+data: 1
+value: "1"
+label: "1"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11730
+data: 2
+value: "2"
+label: "2"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11731
+data: 3
+value: "3"
+label: "3"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11732
+data: 4
+value: "4"
+label: "4"
+attr: []
+labelTranslationParameters: []
}
Symfony\Component\Form\ChoiceList\View\ChoiceView {#11733
+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) {#12028
class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType"
}
"placeholder_in_choices" => false
"duplicate_preferred_choices" => true
"uses_autocomplete" => false
]
+children: [
Symfony\Component\Form\FormView {#12054
+vars: [
"value" => "1"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12054}
"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 {#12055
-errors: []
-form: Symfony\Component\Form\Form {#11827 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12082
+vars: [
"value" => "2"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12082}
"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 {#12056
-errors: []
-form: Symfony\Component\Form\Form {#11830 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12085
+vars: [
"value" => "3"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12085}
"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 {#12084
-errors: []
-form: Symfony\Component\Form\Form {#11833 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12087
+vars: [
"value" => "4"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12087}
"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 {#12086
-errors: []
-form: Symfony\Component\Form\Form {#11836 …}
}
"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 {#11791}
}
Symfony\Component\Form\FormView {#12091
+vars: [
"value" => "5"
"attr" => []
"form" => Symfony\Component\Form\FormView {#12091}
"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 {#12089
-errors: []
-form: Symfony\Component\Form\Form {#11839 …}
}
"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 {#11791}
}
]
-rendered: true
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#11722}
}
"title" => Symfony\Component\Form\FormView {#12042
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12042}
"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 {#12053
-errors: []
-form: Symfony\Component\Form\Form {#11842 …}
}
"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 {#11722}
}
"comment" => Symfony\Component\Form\FormView {#12092
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12092}
"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 {#12093
-errors: []
-form: Symfony\Component\Form\Form {#11845 …}
}
"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 {#11722}
}
"author" => Symfony\Component\Form\FormView {#12095
+vars: [
"value" => null
"attr" => []
"form" => Symfony\Component\Form\FormView {#12095}
"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 {#12094
-errors: []
-form: Symfony\Component\Form\Form {#12047 …}
}
"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 {#12098
+vars: [
"value" => ""
"attr" => []
"form" => Symfony\Component\Form\FormView {#12098}
"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 {#12099
-errors: []
-form: Symfony\Component\Form\Form {#12050 …}
}
"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 {#12095}
}
]
-rendered: false
-methodRendered: false
+parent: Symfony\Component\Form\FormView {#11722}
}
"_token" => Symfony\Component\Form\FormView {#12104
+vars: [
"value" => "0fe6e0c.hujYP4CrqenU8N-JG4_yCb2aJneb7Fg1u1GrgD7odac.x6vufufD_q2hgonlc6KlPYvFE0P4myly1xrMz1KnGPLoqa571tPhuea15w"
"attr" => [
"data-controller" => "csrf-protection"
]
"form" => Symfony\Component\Form\FormView {#12104}
"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 {#12113
-errors: []
-form: Symfony\Component\Form\Form {#12109 …}
}
"valid" => true
"data" => "0fe6e0c.hujYP4CrqenU8N-JG4_yCb2aJneb7Fg1u1GrgD7odac.x6vufufD_q2hgonlc6KlPYvFE0P4myly1xrMz1KnGPLoqa571tPhuea15w"
"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 {#11722}
}
]
-rendered: false
-methodRendered: true
+parent: null
}
-form: null
+formName: "sylius_shop_product_review"
+formValues: [
"rating" => ""
"title" => ""
"comment" => ""
"author" => [
"email" => ""
]
"_token" => "0fe6e0c.hujYP4CrqenU8N-JG4_yCb2aJneb7Fg1u1GrgD7odac.x6vufufD_q2hgonlc6KlPYvFE0P4myly1xrMz1KnGPLoqa571tPhuea15w"
]
+isValidated: false
+validatedFields: []
-shouldAutoSubmitForm: true
+template: "@SyliusShop/product_review/create/content/main/form.html.twig"
+resource: App\Entity\Product\ProductReview {#7276}
#repository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductReviewRepository {#6880 …}
#formFactory: Symfony\Component\Form\FormFactory {#7135 …}
#resourceClass: "App\Entity\Product\ProductReview"
#formClass: "Sylius\Bundle\ShopBundle\Form\Type\Product\ProductReviewType"
+hookableMetadata: Sylius\TwigHooks\Hookable\Metadata\HookableMetadata {#14087
+renderedBy: Sylius\TwigHooks\Hook\Metadata\HookMetadata {#14080 …}
+context: Sylius\TwigHooks\Bag\DataBag {#14086 …}
+configuration: Sylius\TwigHooks\Bag\ScalarDataBag {#14085 …}
+prefixes: [
"sylius.shop.product_review.create.content.main"
]
}
} |