Forms
-
add_to_cart_form
-
model
-
size
-
glass
-
quantity
-
add
-
_token
-
add_to_cart_form
Form type:
"App\Form\AddToCartForm"
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 | 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\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#14829 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() {#14844 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#14843 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "add_to_cart_form" "_add_to_cart_form" ] |
| cache_key | "_add_to_cart_form_add_to_cart_form" |
| compound | true |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15241 -errors: [] -form: Symfony\Component\Form\Form {#14897 …} } |
| form | Symfony\Component\Form\FormView {#15221 …5} |
| full_name | "add_to_cart_form" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "add_to_cart_form" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_to_cart_form" |
| valid | true |
| value | null |
model
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
No options were passed when constructing this form.
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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#14873 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 | 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 | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#14912 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#14914 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "_add_to_cart_form_model" ] |
| cache_key | "_add_to_cart_form_model_hidden" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15190 -errors: [] -form: Symfony\Component\Form\Form {#14966 …} } |
| form | Symfony\Component\Form\FormView {#15189 …5} |
| full_name | "add_to_cart_form[model]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form_model" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "model" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_to_cart_form_model" |
| valid | true |
| value | "" |
size
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
No options were passed when constructing this form.
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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#14864 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 | 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 | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#14862 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#14863 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "_add_to_cart_form_size" ] |
| cache_key | "_add_to_cart_form_size_hidden" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15211 -errors: [] -form: Symfony\Component\Form\Form {#14963 …} } |
| form | Symfony\Component\Form\FormView {#15213 …5} |
| full_name | "add_to_cart_form[size]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form_size" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "size" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_to_cart_form_size" |
| valid | true |
| value | "" |
glass
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
No options were passed when constructing this form.
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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#14855 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 | 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 | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#14853 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#14854 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "_add_to_cart_form_glass" ] |
| cache_key | "_add_to_cart_form_glass_hidden" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15215 -errors: [] -form: Symfony\Component\Form\Form {#14960 …} } |
| form | Symfony\Component\Form\FormView {#15209 …5} |
| full_name | "add_to_cart_form[glass]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form_glass" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "glass" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_to_cart_form_glass" |
| valid | true |
| value | "" |
quantity
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 |
|---|---|---|
| attr | [ "class" => "form-control d-none" "value" => "1" "min" => "1" "max" => "10000" ] |
same as passed value |
| label_attr | [ "class" => "d-none" ] |
[ "class" => "d-none" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "form-control d-none" "value" => "1" "min" => "1" "max" => "10000" ] |
| 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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#14846 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 | [] |
| html5 | false |
| inherit_data | false |
| input | "number" |
| invalid_message | "Please enter a number." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [ "class" => "d-none" ] |
| 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 | 6 |
| row_attr | [] |
| scale | null |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#14882 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#14881 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "form-control d-none" "value" => "1" "min" => "1" "max" => "10000" "inputmode" => "decimal" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "number" "_add_to_cart_form_quantity" ] |
| cache_key | "_add_to_cart_form_quantity_number" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15212 -errors: [] -form: Symfony\Component\Form\Form {#14969 …} } |
| form | Symfony\Component\Form\FormView {#15218 …5} |
| full_name | "add_to_cart_form[quantity]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form_quantity" |
| label | null |
| label_attr | [ "class" => "d-none" ] |
| 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 | "_add_to_cart_form_quantity" |
| valid | true |
| value | "" |
add
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 w-100 mt-3" ] |
[ "class" => "btn btn-primary w-100 mt-3" ] |
| label | "button.addToCart" |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| attr | [ "class" => "btn btn-primary w-100 mt-3" ] |
| attr_translation_parameters | [] |
| auto_initialize | false |
| block_name | null |
| block_prefix | null |
| disabled | false |
| form_attr | false |
| label | "button.addToCart" |
| 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 w-100 mt-3" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "button" "submit" "_add_to_cart_form_add" ] |
| cache_key | "_add_to_cart_form_add_submit" |
| clicked | false |
| disabled | false |
| form | Symfony\Component\Form\FormView {#15119 …5} |
| full_name | "add_to_cart_form[add]" |
| id | "add_to_cart_form_add" |
| label | "button.addToCart" |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| multipart | false |
| name | "add" |
| priority | 0 |
| row_attr | [] |
| translation_domain | null |
| unique_block_prefix | "_add_to_cart_form_add" |
| value | null |
_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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#423 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#223 …} -logger: Monolog\Logger {#279 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#424 …} -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) {#15214 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() {#15194 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#358 …} $message: Closure() {#15227 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_add_to_cart_form__token" ] |
| cache_key | "_add_to_cart_form__token_hidden" |
| compound | false |
| data | "csrf-token" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#15234 -errors: [] -form: Symfony\Component\Form\Form {#15232 …} } |
| form | Symfony\Component\Form\FormView {#15224 …5} |
| full_name | "add_to_cart_form[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "add_to_cart_form__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 | "_add_to_cart_form__token" |
| valid | true |
| value | "csrf-token" |