Forms
-
sylius_shop_homepage_donation_choice
-
submit
-
donationChoice
-
_token
-
-
sylius_add_to_cart_custom
-
cartItem
-
orderId
-
quantity
-
-
_token
-
sylius_shop_homepage_donation_choice
Form type:
"App\Form\Type\Homepage\DonationChoiceType"
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
No options were passed when constructing this form.
Resolved Options
Option | Value |
---|---|
action | "" |
allow_extra_fields | true |
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 | "sylius.checkout.addressing.csrf_error" |
csrf_protection | true |
csrf_token_id | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
customer | null |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#9736 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 | 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() {#9734 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#9735 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "sylius_shop_homepage_donation_choice" "_sylius_shop_homepage_donation_choice" ] |
cache_key | "_sylius_shop_homepage_donation_choice_sylius_shop_homepage_donation_choice" |
compound | true |
data | null |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#9763 -errors: [] -form: Symfony\Component\Form\Form {#9787 …} } |
form | Symfony\Component\Form\FormView {#9733 …5} |
full_name | "sylius_shop_homepage_donation_choice" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_shop_homepage_donation_choice" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "sylius_shop_homepage_donation_choice" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_sylius_shop_homepage_donation_choice" |
valid | true |
value | null |
submit
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 |
---|---|---|
attr | [ "class" => "btn btn-primary" ] |
[ "class" => "btn btn-primary" ] |
label | "sylius.form.homepage.donation_choice.submit" |
same as passed value |
Resolved Options
Option | Value |
---|---|
attr | [ "class" => "btn btn-primary" ] |
attr_translation_parameters | [] |
auto_initialize | false |
block_name | null |
block_prefix | null |
disabled | false |
form_attr | false |
label | "sylius.form.homepage.donation_choice.submit" |
label_format | null |
label_html | false |
label_translation_parameters | [] |
priority | 0 |
row_attr | [] |
translation_domain | null |
validate | true |
validation_groups | null |
View Vars
Variable | Value |
---|---|
attr | [ "class" => "btn btn-primary" ] |
attr_translation_parameters | [] |
block_prefixes | [ "button" "submit" "_sylius_shop_homepage_donation_choice_submit" ] |
cache_key | "_sylius_shop_homepage_donation_choice_submit_submit" |
clicked | false |
disabled | false |
form | Symfony\Component\Form\FormView {#9812 …5} |
full_name | "sylius_shop_homepage_donation_choice[submit]" |
id | "sylius_shop_homepage_donation_choice_submit" |
label | "sylius.form.homepage.donation_choice.submit" |
label_format | null |
label_html | false |
label_translation_parameters | [] |
multipart | false |
name | "submit" |
priority | 0 |
row_attr | [] |
translation_domain | null |
unique_block_prefix | "_sylius_shop_homepage_donation_choice_submit" |
value | null |
donationChoice
Form type:
"App\Form\Type\Homepage\DonationChoiceSelectorType"
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 |
---|---|---|
auto_initialize | false |
same as passed value |
choice_attr | Closure($choices, $k, $v) {#9803 class: "App\Form\EventSubscriber\DonationChoiceFormSubscriber" this: App\Form\EventSubscriber\DonationChoiceFormSubscriber {#9671 …} } |
same as passed value |
choices | [ "sylius.form.homepage.donation_choice.select" => "" "$20 for 30 points" => "1" "$30 for 40 points" => "2" "$40 for 50 points" => "3" "$50 for 60 points" => "4" ] |
[ "sylius.form.homepage.donation_choice.select" => "" "$20 for 30 points" => "1" "$30 for 40 points" => "2" "$40 for 50 points" => "3" "$50 for 60 points" => "4" ] |
expanded | false |
same as passed value |
label | "sylius.form.homepage.donation_choice.label" |
same as passed value |
required | true |
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 | false |
autocomplete | false |
autocomplete_url | null |
block_name | null |
block_prefix | null |
by_reference | true |
choice_attr | Closure($choices, $k, $v) {#9803 class: "App\Form\EventSubscriber\DonationChoiceFormSubscriber" this: App\Form\EventSubscriber\DonationChoiceFormSubscriber {#9671 …} } |
choice_filter | null |
choice_label | null |
choice_lazy | false |
choice_loader | null |
choice_name | null |
choice_translation_domain | null |
choice_translation_parameters | [] |
choice_value | null |
choices | [ "sylius.form.homepage.donation_choice.select" => "" "$20 for 30 points" => "1" "$30 for 40 points" => "2" "$40 for 50 points" => "3" "$50 for 60 points" => "4" ] |
class | "App\Entity\DonationChoice" |
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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data_class | null |
disabled | false |
duplicate_preferred_choices | true |
empty_data | "" |
error_bubbling | false |
error_mapping | [] |
expanded | false |
extra_fields_message | "This form should not contain extra fields." |
extra_options | [] |
form_attr | false |
getter | null |
group_by | null |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
inherit_data | false |
invalid_message | "NOTE: The selected donation choice does not exist" |
invalid_message_parameters | [] |
is_empty_callback | null |
label | "sylius.form.homepage.donation_choice.label" |
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 |
multiple | false |
no_more_results_text | "No more results" |
no_results_found_text | "No results found" |
options_as_html | false |
placeholder | null |
placeholder_attr | [] |
post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
preferred_choices | [] |
preload | "focus" |
priority | 0 |
property_path | null |
required | true |
row_attr | [] |
separator | "-------------------" |
separator_html | false |
setter | null |
tom_select_options | [] |
translation_domain | null |
trim | false |
upload_max_size_message | Closure() {#9749 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#9765 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "choice" "donation_choice_selector" "_sylius_shop_homepage_donation_choice_donationChoice" ] |
cache_key | "_sylius_shop_homepage_donation_choice_donationChoice_donation_choice_selector" |
choice_translation_domain | null |
choice_translation_parameters | [] |
choices | [ Symfony\Component\Form\ChoiceList\View\ChoiceView {#9746 +data: "" +value: "" +label: "sylius.form.homepage.donation_choice.select" +attr: [ "selected" => "selected" ] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#9758 +data: "1" +value: "1" +label: "$20 for 30 points" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#9764 +data: "2" +value: "2" +label: "$30 for 40 points" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#9778 +data: "3" +value: "3" +label: "$40 for 50 points" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#9808 +data: "4" +value: "4" +label: "$50 for 60 points" +attr: [] +labelTranslationParameters: [] } ] |
compound | false |
data | 1 |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#9809 -errors: [] -form: Symfony\Component\Form\Form {#9768 …} } |
expanded | false |
form | Symfony\Component\Form\FormView {#9810 …5} |
full_name | "sylius_shop_homepage_donation_choice[donationChoice]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_shop_homepage_donation_choice_donationChoice" |
is_selected | Closure($choice, $value) {#9769 class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType" } |
label | "sylius.form.homepage.donation_choice.label" |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
multiple | false |
name | "donationChoice" |
placeholder | null |
placeholder_attr | [] |
placeholder_in_choices | true |
preferred_choices | [] |
priority | 0 |
required | true |
row_attr | [] |
separator | "-------------------" |
separator_html | false |
submitted | false |
translation_domain | null |
unique_block_prefix | "_sylius_shop_homepage_donation_choice_donationChoice" |
uses_autocomplete | false |
valid | true |
value | "1" |
_token
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | "csrf-token" |
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 | "csrf-token" |
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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data | "csrf-token" |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#9807 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() {#9761 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#9804 …} $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_homepage_donation_choice__token" ] |
cache_key | "_sylius_shop_homepage_donation_choice__token_hidden" |
compound | false |
data | "csrf-token" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#9821 -errors: [] -form: Symfony\Component\Form\Form {#9817 …} } |
form | Symfony\Component\Form\FormView {#9759 …5} |
full_name | "sylius_shop_homepage_donation_choice[_token]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_shop_homepage_donation_choice__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_homepage_donation_choice__token" |
valid | true |
value | "csrf-token" |
sylius_add_to_cart_custom
Form type:
"App\Form\Type\Order\AddToCartCustomType"
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#23581 -cart: App\Entity\Order\Order {#8903 …} -cartItem: App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } } |
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 {#23581 -cart: App\Entity\Order\Order {#8903 …} -cartItem: App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } } |
same as passed value |
is_maxed | false |
same as passed value |
max_quantity | 2 |
same as passed value |
product | App\Entity\Product\Product {#10941 #id: 128 #code: "snack-size-flavoured-tuna" #attributes: Doctrine\ORM\PersistentCollection {#10950 …} #variants: Doctrine\ORM\PersistentCollection {#10952 …} #options: Doctrine\ORM\PersistentCollection {#10956 …} #associations: Doctrine\ORM\PersistentCollection {#10954 …} #createdAt: DateTime @1745808754 {#10939 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #updatedAt: DateTime @1745808754 {#10940 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10942 …} #translationsCache: [ "en_NZ" => App\Entity\Product\ProductTranslation {#23446 #locale: "en_NZ" #translatable: App\Entity\Product\Product {#10941} #id: 737 #name: "Snack Size Flavoured Tuna" #slug: "snack-sized-tuna" #description: "Ideal for lunchboxes, sandwiches or as a healthy snack. Flavours and brands vary" #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "en_NZ" #currentTranslation: null #fallbackLocale: "en_NZ" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10959 …} #channels: Doctrine\ORM\PersistentCollection {#10948 …} #mainTaxon: App\Entity\Taxonomy\Taxon {#10122 …} #reviews: Doctrine\ORM\PersistentCollection {#10944 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10946 …} } |
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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#23581 -cart: App\Entity\Order\Order {#8903 …} -cartItem: App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } } |
data_class | "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" |
disabled | false |
empty_data | Closure(FormInterface $form) {#23585 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 |
is_maxed | false |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
mapped | true |
max_quantity | 2 |
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 {#10941 #id: 128 #code: "snack-size-flavoured-tuna" #attributes: Doctrine\ORM\PersistentCollection {#10950 …} #variants: Doctrine\ORM\PersistentCollection {#10952 …} #options: Doctrine\ORM\PersistentCollection {#10956 …} #associations: Doctrine\ORM\PersistentCollection {#10954 …} #createdAt: DateTime @1745808754 {#10939 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #updatedAt: DateTime @1745808754 {#10940 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10942 …} #translationsCache: [ "en_NZ" => App\Entity\Product\ProductTranslation {#23446 #locale: "en_NZ" #translatable: App\Entity\Product\Product {#10941} #id: 737 #name: "Snack Size Flavoured Tuna" #slug: "snack-sized-tuna" #description: "Ideal for lunchboxes, sandwiches or as a healthy snack. Flavours and brands vary" #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "en_NZ" #currentTranslation: null #fallbackLocale: "en_NZ" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10959 …} #channels: Doctrine\ORM\PersistentCollection {#10948 …} #mainTaxon: App\Entity\Taxonomy\Taxon {#10122 …} #reviews: Doctrine\ORM\PersistentCollection {#10944 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10946 …} } |
property_path | null |
required | true |
row_attr | [] |
setter | null |
translation_domain | null |
trim | true |
upload_max_size_message | Closure() {#23594 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#23592 …} $translationDomain: "validators" } } |
validation_groups | [
"sylius"
] |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "sylius_add_to_cart_custom" "_sylius_add_to_cart_custom" ] |
cache_key | "_sylius_add_to_cart_custom_sylius_add_to_cart_custom" |
compound | true |
data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#23581 -cart: App\Entity\Order\Order {#8903 …} -cartItem: App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } } |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#23653 -errors: [] -form: Symfony\Component\Form\Form {#23627 …} } |
form | Symfony\Component\Form\FormView {#23595 …5} |
full_name | "sylius_add_to_cart_custom" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_add_to_cart_custom" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "sylius_add_to_cart_custom" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_sylius_add_to_cart_custom" |
valid | true |
value | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#23581 -cart: App\Entity\Order\Order {#8903 …} -cartItem: App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } } |
cartItem
Form type:
"App\Form\Type\Order\CartItemCustomType"
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } |
View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
Option | Passed Value | Resolved Value |
---|---|---|
is_maxed | false |
same as passed value |
max_quantity | 2 |
same as passed value |
product | App\Entity\Product\Product {#10941 #id: 128 #code: "snack-size-flavoured-tuna" #attributes: Doctrine\ORM\PersistentCollection {#10950 …} #variants: Doctrine\ORM\PersistentCollection {#10952 …} #options: Doctrine\ORM\PersistentCollection {#10956 …} #associations: Doctrine\ORM\PersistentCollection {#10954 …} #createdAt: DateTime @1745808754 {#10939 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #updatedAt: DateTime @1745808754 {#10940 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10942 …} #translationsCache: [ "en_NZ" => App\Entity\Product\ProductTranslation {#23446 #locale: "en_NZ" #translatable: App\Entity\Product\Product {#10941} #id: 737 #name: "Snack Size Flavoured Tuna" #slug: "snack-sized-tuna" #description: "Ideal for lunchboxes, sandwiches or as a healthy snack. Flavours and brands vary" #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "en_NZ" #currentTranslation: null #fallbackLocale: "en_NZ" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10959 …} #channels: Doctrine\ORM\PersistentCollection {#10948 …} #mainTaxon: App\Entity\Taxonomy\Taxon {#10122 …} #reviews: Doctrine\ORM\PersistentCollection {#10944 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10946 …} } |
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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data_class | "App\Entity\Order\OrderItem" |
disabled | false |
empty_data | Closure(FormInterface $form) {#23607 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 |
is_maxed | false |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
mapped | true |
max_quantity | 2 |
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 {#10941 #id: 128 #code: "snack-size-flavoured-tuna" #attributes: Doctrine\ORM\PersistentCollection {#10950 …} #variants: Doctrine\ORM\PersistentCollection {#10952 …} #options: Doctrine\ORM\PersistentCollection {#10956 …} #associations: Doctrine\ORM\PersistentCollection {#10954 …} #createdAt: DateTime @1745808754 {#10939 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #updatedAt: DateTime @1745808754 {#10940 date: 2025-04-28 02:52:34.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10942 …} #translationsCache: [ "en_NZ" => App\Entity\Product\ProductTranslation {#23446 #locale: "en_NZ" #translatable: App\Entity\Product\Product {#10941} #id: 737 #name: "Snack Size Flavoured Tuna" #slug: "snack-sized-tuna" #description: "Ideal for lunchboxes, sandwiches or as a healthy snack. Flavours and brands vary" #metaKeywords: null #metaDescription: null #shortDescription: null } ] #currentLocale: "en_NZ" #currentTranslation: null #fallbackLocale: "en_NZ" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10959 …} #channels: Doctrine\ORM\PersistentCollection {#10948 …} #mainTaxon: App\Entity\Taxonomy\Taxon {#10122 …} #reviews: Doctrine\ORM\PersistentCollection {#10944 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10946 …} } |
property_path | null |
required | true |
row_attr | [] |
setter | null |
translation_domain | null |
trim | true |
upload_max_size_message | Closure() {#23609 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#23608 …} $translationDomain: "validators" } } |
validation_groups | [
"sylius"
] |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "sylius_cart_item_custom" "_sylius_add_to_cart_custom_cartItem" ] |
cache_key | "_sylius_add_to_cart_custom_cartItem_sylius_cart_item_custom" |
compound | true |
data | App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#23658 -errors: [] -form: Symfony\Component\Form\Form {#23643 …} } |
form | Symfony\Component\Form\FormView {#23657 …5} |
full_name | "sylius_add_to_cart_custom[cartItem]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_add_to_cart_custom_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_add_to_cart_custom_cartItem" |
valid | true |
value | App\Entity\Order\OrderItem {#23579 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#23596 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#23580 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#23101 …} #productName: null #variantName: null -maximum: 2 } |
orderId
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 |
---|---|---|
mapped | false |
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 | 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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#23635 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() {#23637 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#23636 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "hidden" "_sylius_add_to_cart_custom_cartItem_orderId" ] |
cache_key | "_sylius_add_to_cart_custom_cartItem_orderId_hidden" |
compound | false |
data | null |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#23682 -errors: [] -form: Symfony\Component\Form\Form {#23649 …} } |
form | Symfony\Component\Form\FormView {#23681 …5} |
full_name | "sylius_add_to_cart_custom[cartItem][orderId]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_add_to_cart_custom_cartItem_orderId" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "orderId" |
priority | 0 |
required | false |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_sylius_add_to_cart_custom_cartItem_orderId" |
valid | true |
value | "" |
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 "max" => 2 ] |
[ "min" => 1 "max" => 2 ] |
auto_initialize | false |
same as passed value |
constraints | [ Symfony\Component\Validator\Constraints\Range {#23672 +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 should be a valid datetime." +min: 1 +minPropertyPath: null +max: 2 +maxPropertyPath: null } ] |
[ Symfony\Component\Validator\Constraints\Range {#23672 +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 should be a valid datetime." +min: 1 +minPropertyPath: null +max: 2 +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 "max" => 2 ] |
attr_translation_parameters | [] |
auto_initialize | false |
block_name | null |
block_prefix | null |
by_reference | true |
compound | false |
constraints | [ Symfony\Component\Validator\Constraints\Range {#23672 +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 should be a valid datetime." +min: 1 +minPropertyPath: null +max: 2 +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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#23667 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() {#23670 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#23669 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [ "min" => 1 "max" => 2 ] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "integer" "_sylius_add_to_cart_custom_cartItem_quantity" ] |
cache_key | "_sylius_add_to_cart_custom_cartItem_quantity_integer" |
compound | false |
data | 1 |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#23683 -errors: [] -form: Symfony\Component\Form\Form {#23677 …} } |
form | Symfony\Component\Form\FormView {#23684 …5} |
full_name | "sylius_add_to_cart_custom[cartItem][quantity]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_add_to_cart_custom_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_add_to_cart_custom_cartItem_quantity" |
valid | true |
value | "1" |
_token
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | "csrf-token" |
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 | "csrf-token" |
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 | "submit" |
csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#7915 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#287 …} -logger: Monolog\Logger {#1596 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#7914 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
data | "csrf-token" |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#23655 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() {#23668 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#1662 …} $message: Closure() {#23680 …} $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_add_to_cart_custom__token" ] |
cache_key | "_sylius_add_to_cart_custom__token_hidden" |
compound | false |
data | "csrf-token" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#23699 -errors: [] -form: Symfony\Component\Form\Form {#23695 …} } |
form | Symfony\Component\Form\FormView {#23691 …5} |
full_name | "sylius_add_to_cart_custom[_token]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "sylius_add_to_cart_custom__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_add_to_cart_custom__token" |
valid | true |
value | "csrf-token" |