Forms
-
sylius_shop_cart
-
items
-
promotionCoupon
-
_token
-
-
sylius_shop_add_to_cart
-
cartItem
-
quantity
-
-
customer_options
-
lastname
-
firstname
-
year
-
-
_token
-
sylius_shop_cart
Form type:
"Sylius\Bundle\ShopBundle\Form\Type\CartType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| data | App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data | App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } |
| data_class | "App\Entity\Order\Order" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#9595 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "App\Entity\Order\Order" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#9597 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#9596 …} $translationDomain: "validators" } } |
| validation_groups | Closure(FormInterface $form) {#9598 class: "Sylius\Bundle\CoreBundle\Form\Extension\CartTypeExtension" this: Sylius\Bundle\CoreBundle\Form\Extension\CartTypeExtension {#9461 …} use: { $validationGroups: [ "sylius" ] } } |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "sylius_cart" "sylius_shop_cart" "_sylius_shop_cart" ] |
| cache_key | "_sylius_shop_cart_sylius_shop_cart" |
| compound | true |
| data | App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#9630 -errors: [] -form: Symfony\Component\Form\Form {#9638 …} } |
| form | Symfony\Component\Form\FormView {#9594 …5} |
| full_name | "sylius_shop_cart" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_cart" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "sylius_shop_cart" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_cart" |
| valid | true |
| value | App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } |
items
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | Doctrine\Common\Collections\ArrayCollection {#9655 -elements: [] } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| allow_add | false |
same as passed value |
| allow_delete | true |
same as passed value |
| by_reference | false |
same as passed value |
| entry_type | "Sylius\Bundle\ShopBundle\Form\Type\CartItemType" |
same as passed value |
| label | "sylius.form.cart.items" |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_add | false |
| allow_delete | true |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| button_add_label | "sylius.form.collection.add" |
| button_delete_label | "sylius.form.collection.delete" |
| by_reference | false |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| delete_empty | false |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#9610 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| entry_options | [ "block_name" => "entry" ] |
| entry_type | "Sylius\Bundle\ShopBundle\Form\Type\CartItemType" |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The collection is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| keep_as_list | false |
| label | "sylius.form.cart.items" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| prototype | true |
| prototype_data | null |
| prototype_name | "__name__" |
| prototype_options | [] |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#9612 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#9611 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| allow_add | false |
| allow_delete | true |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "collection" "_sylius_shop_cart_items" ] |
| button_add_label | "sylius.form.collection.add" |
| button_delete_label | "sylius.form.collection.delete" |
| cache_key | "_sylius_shop_cart_items_collection" |
| compound | true |
| data | Doctrine\Common\Collections\ArrayCollection {#9655 -elements: [] } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#9651 -errors: [] -form: Symfony\Component\Form\Form {#9641 …} } |
| form | Symfony\Component\Form\FormView {#9650 …5} |
| full_name | "sylius_shop_cart[items]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_cart_items" |
| label | "sylius.form.cart.items" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "items" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_cart_items" |
| valid | true |
| value | Doctrine\Common\Collections\ArrayCollection {#9655 -elements: [] } |
promotionCoupon
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format |
null
|
| Normalized Format | "" |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| by_reference | false |
same as passed value |
| label | "sylius.form.cart.coupon" |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| allow_options_create | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| autocomplete | false |
| autocomplete_url | null |
| block_name | null |
| block_prefix | null |
| by_reference | false |
| compound | false |
| constraints | [] |
| create_option_text | "Add %placeholder%..." |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#9631 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| extra_options | [] |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "sylius.form.cart.coupon" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| loading_more_text | "Loading more results..." |
| mapped | true |
| max_results | 10 |
| method | "POST" |
| min_characters | null |
| no_more_results_text | "No more results" |
| no_results_found_text | "No results found" |
| options_as_html | false |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preload | "focus" |
| priority | 0 |
| property_path | null |
| required | false |
| reset_on_focus | false |
| row_attr | [] |
| setter | null |
| tom_select_options | [] |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#9633 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#9632 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "sylius_promotion_coupon_to_code" "_sylius_shop_cart_promotionCoupon" ] |
| cache_key | "_sylius_shop_cart_promotionCoupon_sylius_promotion_coupon_to_code" |
| compound | false |
| data | "" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#9652 -errors: [] -form: Symfony\Component\Form\Form {#9644 …} } |
| form | Symfony\Component\Form\FormView {#9653 …5} |
| full_name | "sylius_shop_cart[promotionCoupon]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_cart_promotionCoupon" |
| label | "sylius.form.cart.coupon" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "promotionCoupon" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_cart_promotionCoupon" |
| uses_autocomplete | false |
| valid | true |
| value | "" |
_token
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | "1.AITw0Zsy2qYFlOkKjEZHdalxBWkJo7NolWB_oToV1NY.RPOks9FznMFT5LZi9TYeIe4XYyVw68UJrARI7XlPpO9R65iOrFGVymHQuA" |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "data-controller" => "csrf-protection" ] |
[ "data-controller" => "csrf-protection" ] |
| block_prefix | "csrf_token" |
same as passed value |
| data | "1.AITw0Zsy2qYFlOkKjEZHdalxBWkJo7NolWB_oToV1NY.RPOks9FznMFT5LZi9TYeIe4XYyVw68UJrARI7XlPpO9R65iOrFGVymHQuA" |
same as passed value |
| mapped | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | "csrf_token" |
| by_reference | true |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data | "1.AITw0Zsy2qYFlOkKjEZHdalxBWkJo7NolWB_oToV1NY.RPOks9FznMFT5LZi9TYeIe4XYyVw68UJrARI7XlPpO9R65iOrFGVymHQuA" |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#9668 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The hidden field is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | false |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#9670 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#9669 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_sylius_shop_cart__token" ] |
| cache_key | "_sylius_shop_cart__token_hidden" |
| compound | false |
| data | "1.AITw0Zsy2qYFlOkKjEZHdalxBWkJo7NolWB_oToV1NY.RPOks9FznMFT5LZi9TYeIe4XYyVw68UJrARI7XlPpO9R65iOrFGVymHQuA" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#9679 -errors: [] -form: Symfony\Component\Form\Form {#9675 …} } |
| form | Symfony\Component\Form\FormView {#9667 …5} |
| full_name | "sylius_shop_cart[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_cart__token" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "_token" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_cart__token" |
| valid | true |
| value | "1.AITw0Zsy2qYFlOkKjEZHdalxBWkJo7NolWB_oToV1NY.RPOks9FznMFT5LZi9TYeIe4XYyVw68UJrARI7XlPpO9R65iOrFGVymHQuA" |
sylius_shop_add_to_cart
Form type:
"Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10746 -cart: App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } -cartItem: App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10746 -cart: App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } -cartItem: App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } } |
same as passed value |
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10746 -cart: App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } -cartItem: App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } } |
| data_class | "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10731 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10729 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10730 …} $translationDomain: "validators" } } |
| validation_groups | [
"sylius"
] |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "sylius_add_to_cart" "sylius_shop_add_to_cart" "_sylius_shop_add_to_cart" ] |
| cache_key | "_sylius_shop_add_to_cart_sylius_shop_add_to_cart" |
| compound | true |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10746 -cart: App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } -cartItem: App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#10896 -errors: [] -form: Symfony\Component\Form\Form {#10938 …} } |
| form | Symfony\Component\Form\FormView {#10733 …5} |
| full_name | "sylius_shop_add_to_cart" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "sylius_shop_add_to_cart" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart" |
| valid | true |
| value | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10746 -cart: App\Entity\Order\Order {#9377 #id: null #checkoutCompletedAt: null #number: null #notes: null #items: Doctrine\Common\Collections\ArrayCollection {#9378 …} #itemsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#9379 …} #adjustmentsTotal: 0 #total: 0 #state: "cart" #createdAt: DateTime @1794028352 {#9380 date: 2026-11-07 05:12:32.303405 UTC (+00:00) } #updatedAt: null #customer: null #channel: App\Entity\Channel\Channel {#3319 …} #shippingAddress: null #billingAddress: null #payments: Doctrine\Common\Collections\ArrayCollection {#9381 …} #shipments: Doctrine\Common\Collections\ArrayCollection {#9382 …} #currencyCode: "EUR" #localeCode: "fr_FR" #promotionCoupon: null #checkoutState: "cart" #paymentState: "cart" #shippingState: "cart" #promotions: Doctrine\Common\Collections\ArrayCollection {#9383 …} #tokenValue: null #customerIp: null #createdByGuest: true } -cartItem: App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } } |
cartItem
Form type:
"Sylius\Bundle\ShopBundle\Form\Type\CartItemType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | "App\Entity\Order\OrderItem" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10882 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "App\Entity\Order\OrderItem" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10884 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10883 …} $translationDomain: "validators" } } |
| validation_groups | [
"sylius"
] |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "sylius_cart_item" "sylius_shop_cart_item" "_sylius_shop_add_to_cart_cartItem" ] |
| cache_key | "_sylius_shop_add_to_cart_cartItem_sylius_shop_cart_item" |
| compound | true |
| data | App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#10881 -errors: [] -form: Symfony\Component\Form\Form {#10964 …} } |
| form | Symfony\Component\Form\FormView {#10970 …5} |
| full_name | "sylius_shop_add_to_cart[cartItem]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_cartItem" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "cartItem" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_cartItem" |
| valid | true |
| value | App\Entity\Order\OrderItem {#10720 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#1115 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#10719 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#4051 …} #productName: null #variantName: null #customerOptionValues: Doctrine\Common\Collections\ArrayCollection {#10718 …} } |
quantity
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | 1 |
| View Format |
"1"
|
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "min" => 1 ] |
[ "min" => 1 ] |
| constraints | [ Symfony\Component\Validator\Constraints\Range {#10889 +payload: null +groups: [ "sylius" ] +notInRangeMessage: "sylius.cart_item.quantity.not_in_range" +minMessage: "This value should be {{ limit }} or more." +maxMessage: "This value should be {{ limit }} or less." +invalidMessage: "This value should be a valid number." +invalidDateTimeMessage: "This value is not a valid datetime." +min: 1 +minPropertyPath: null +max: 9999 +maxPropertyPath: null } ] |
[ Symfony\Component\Validator\Constraints\Range {#10889 +payload: null +groups: [ "sylius" ] +notInRangeMessage: "sylius.cart_item.quantity.not_in_range" +minMessage: "This value should be {{ limit }} or more." +maxMessage: "This value should be {{ limit }} or less." +invalidMessage: "This value should be a valid number." +invalidDateTimeMessage: "This value is not a valid datetime." +min: 1 +minPropertyPath: null +max: 9999 +maxPropertyPath: null } ] |
| label | "sylius.ui.quantity" |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "min" => 1 ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\Range {#10889 +payload: null +groups: [ "sylius" ] +notInRangeMessage: "sylius.cart_item.quantity.not_in_range" +minMessage: "This value should be {{ limit }} or more." +maxMessage: "This value should be {{ limit }} or less." +invalidMessage: "This value should be a valid number." +invalidDateTimeMessage: "This value is not a valid datetime." +min: 1 +minPropertyPath: null +max: 9999 +maxPropertyPath: null } ] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10957 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| grouping | false |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "Please enter an integer." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "sylius.ui.quantity" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| rounding_mode | 2 |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10958 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10956 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "min" => 1 ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "integer" "_sylius_shop_add_to_cart_cartItem_quantity" ] |
| cache_key | "_sylius_shop_add_to_cart_cartItem_quantity_integer" |
| compound | false |
| data | 1 |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#11010 -errors: [] -form: Symfony\Component\Form\Form {#10967 …} } |
| form | Symfony\Component\Form\FormView {#11009 …5} |
| full_name | "sylius_shop_add_to_cart[cartItem][quantity]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_cartItem_quantity" |
| label | "sylius.ui.quantity" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "quantity" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_cartItem_quantity" |
| valid | true |
| value | "1" |
customer_options
Form type:
"App\Form\Type\CustomerOption\ShopCustomerOptionsType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10897 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | false |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| product | App\Entity\Product\Product {#3748 #id: 15 #code: "2-50006AGR" #attributes: Doctrine\ORM\PersistentCollection {#3927 …} #variants: Doctrine\ORM\PersistentCollection {#3991 …} #options: Doctrine\ORM\PersistentCollection {#4025 …} #associations: Doctrine\ORM\PersistentCollection {#4020 …} #createdAt: DateTime @1607681281 {#3678 date: 2020-12-11 10:08:01.0 UTC (+00:00) } #updatedAt: DateTime @1612778177 {#3752 date: 2021-02-08 09:56:17.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#4036 …} #translationsCache: [ "fr_FR" => App\Entity\Product\ProductTranslation {#4029 #locale: "fr_FR" #translatable: App\Entity\Product\Product {#3748} #id: 15 #name: "Médaille d'Honneur Agricole 35 ans Or" #slug: "medaille-d-honneur-agricole-35-ans-or" #description: """ <p>Cette médaille d'Honneur Agricole, frappée par la Monnaie de Paris, est en argent massif doré (925/1000).</p>\r\n \r\n <p><strong>La gravure est obligatoire sur cette médaille (initiale du prénom + nom + année de promotion). Le prix indiqué comprend la gravure.</strong></p>\r\n \r\n <p> </p>\r\n \r\n <p><strong><em>Prix unitaire HT</em></strong></p> """ #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "fr_FR" #currentTranslation: null #fallbackLocale: "fr_FR" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …} #channels: Doctrine\ORM\PersistentCollection {#3879 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …} #reviews: Doctrine\ORM\PersistentCollection {#3845 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#3871 …} #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …} } |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10899 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10898 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "app_shop_customer_options" "_sylius_shop_add_to_cart_customer_options" ] |
| cache_key | "_sylius_shop_add_to_cart_customer_options_app_shop_customer_options" |
| compound | true |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#10952 -errors: [] -form: Symfony\Component\Form\Form {#10994 …} } |
| form | Symfony\Component\Form\FormView {#11007 …5} |
| full_name | "sylius_shop_add_to_cart[customer_options]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_customer_options" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "customer_options" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_customer_options" |
| valid | true |
| value | null |
lastname
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10922 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
[ Symfony\Component\Validator\Constraints\Length {#10922 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| label | "Nom" |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| allow_options_create | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| autocomplete | false |
| autocomplete_url | null |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10922 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| create_option_text | "Add %placeholder%..." |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10971 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| extra_options | [] |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "Nom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| loading_more_text | "Loading more results..." |
| mapped | true |
| max_results | 10 |
| method | "POST" |
| min_characters | null |
| no_more_results_text | "No more results" |
| no_results_found_text | "No results found" |
| options_as_html | false |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preload | "focus" |
| priority | 0 |
| property_path | null |
| required | false |
| reset_on_focus | false |
| row_attr | [] |
| setter | null |
| tom_select_options | [] |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10973 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10972 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_sylius_shop_add_to_cart_customer_options_lastname" ] |
| cache_key | "_sylius_shop_add_to_cart_customer_options_lastname_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#11020 -errors: [] -form: Symfony\Component\Form\Form {#10997 …} } |
| form | Symfony\Component\Form\FormView {#11018 …5} |
| full_name | "sylius_shop_add_to_cart[customer_options][lastname]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_customer_options_lastname" |
| label | "Nom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "lastname" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_customer_options_lastname" |
| uses_autocomplete | false |
| valid | true |
| value | "" |
firstname
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10937 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
[ Symfony\Component\Validator\Constraints\Length {#10937 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| label | "Prénom" |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| allow_options_create | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| autocomplete | false |
| autocomplete_url | null |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10937 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| create_option_text | "Add %placeholder%..." |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10979 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| extra_options | [] |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "Prénom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| loading_more_text | "Loading more results..." |
| mapped | true |
| max_results | 10 |
| method | "POST" |
| min_characters | null |
| no_more_results_text | "No more results" |
| no_results_found_text | "No results found" |
| options_as_html | false |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preload | "focus" |
| priority | 0 |
| property_path | null |
| required | false |
| reset_on_focus | false |
| row_attr | [] |
| setter | null |
| tom_select_options | [] |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10981 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10980 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_sylius_shop_add_to_cart_customer_options_firstname" ] |
| cache_key | "_sylius_shop_add_to_cart_customer_options_firstname_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#11021 -errors: [] -form: Symfony\Component\Form\Form {#11000 …} } |
| form | Symfony\Component\Form\FormView {#11023 …5} |
| full_name | "sylius_shop_add_to_cart[customer_options][firstname]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_customer_options_firstname" |
| label | "Prénom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "firstname" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_customer_options_firstname" |
| uses_autocomplete | false |
| valid | true |
| value | "" |
year
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10949 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
[ Symfony\Component\Validator\Constraints\Length {#10949 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| label | "Année" |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| allow_options_create | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| autocomplete | false |
| autocomplete_url | null |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\Length {#10949 +payload: null +groups: [ "sylius" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 255 +min: 0 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| create_option_text | "Add %placeholder%..." |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10987 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| extra_options | [] |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "Année" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| loading_more_text | "Loading more results..." |
| mapped | true |
| max_results | 10 |
| method | "POST" |
| min_characters | null |
| no_more_results_text | "No more results" |
| no_results_found_text | "No results found" |
| options_as_html | false |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preload | "focus" |
| priority | 0 |
| property_path | null |
| required | false |
| reset_on_focus | false |
| row_attr | [] |
| setter | null |
| tom_select_options | [] |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#10989 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#10988 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_sylius_shop_add_to_cart_customer_options_year" ] |
| cache_key | "_sylius_shop_add_to_cart_customer_options_year_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#11027 -errors: [] -form: Symfony\Component\Form\Form {#11003 …} } |
| form | Symfony\Component\Form\FormView {#11033 …5} |
| full_name | "sylius_shop_add_to_cart[customer_options][year]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart_customer_options_year" |
| label | "Année" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "year" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart_customer_options_year" |
| uses_autocomplete | false |
| valid | true |
| value | "" |
_token
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | "62e.QmpHDiUOFp2pPrRMe3Z4kNIYasvQ9mYXVJPZv0M1r6w.NiUYR0ZWUdflV_kqLj9P459yWbmDnyh1McCfhwdsnJ0JHg1MZ3Z71ZpQ9Q" |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "data-controller" => "csrf-protection" ] |
[ "data-controller" => "csrf-protection" ] |
| block_prefix | "csrf_token" |
same as passed value |
| data | "62e.QmpHDiUOFp2pPrRMe3Z4kNIYasvQ9mYXVJPZv0M1r6w.NiUYR0ZWUdflV_kqLj9P459yWbmDnyh1McCfhwdsnJ0JHg1MZ3Z71ZpQ9Q" |
same as passed value |
| mapped | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | "csrf_token" |
| by_reference | true |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#853 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#3634 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#3635 …} -namespace: Closure() {#3641 …} } |
| data | "62e.QmpHDiUOFp2pPrRMe3Z4kNIYasvQ9mYXVJPZv0M1r6w.NiUYR0ZWUdflV_kqLj9P459yWbmDnyh1McCfhwdsnJ0JHg1MZ3Z71ZpQ9Q" |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#10986 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The hidden field is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | false |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#11012 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1473 …} $message: Closure() {#11011 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_sylius_shop_add_to_cart__token" ] |
| cache_key | "_sylius_shop_add_to_cart__token_hidden" |
| compound | false |
| data | "62e.QmpHDiUOFp2pPrRMe3Z4kNIYasvQ9mYXVJPZv0M1r6w.NiUYR0ZWUdflV_kqLj9P459yWbmDnyh1McCfhwdsnJ0JHg1MZ3Z71ZpQ9Q" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#11043 -errors: [] -form: Symfony\Component\Form\Form {#11039 …} } |
| form | Symfony\Component\Form\FormView {#10978 …5} |
| full_name | "sylius_shop_add_to_cart[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart__token" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "_token" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart__token" |
| valid | true |
| value | "62e.QmpHDiUOFp2pPrRMe3Z4kNIYasvQ9mYXVJPZv0M1r6w.NiUYR0ZWUdflV_kqLj9P459yWbmDnyh1McCfhwdsnJ0JHg1MZ3Z71ZpQ9Q" |