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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#18867 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() {#18882 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#18881 …} $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 {#19273 -errors: [] -form: Symfony\Component\Form\Form {#18930 …} } |
| form | Symfony\Component\Form\FormView {#19253 …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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#18910 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() {#18949 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#18951 …} $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 {#19222 -errors: [] -form: Symfony\Component\Form\Form {#18999 …} } |
| form | Symfony\Component\Form\FormView {#19228 …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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#18902 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() {#18900 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#18901 …} $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 {#19243 -errors: [] -form: Symfony\Component\Form\Form {#18996 …} } |
| form | Symfony\Component\Form\FormView {#19245 …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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#18894 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() {#18892 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#18893 …} $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 {#19247 -errors: [] -form: Symfony\Component\Form\Form {#18993 …} } |
| form | Symfony\Component\Form\FormView {#19240 …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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#18886 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() {#18916 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#18915 …} $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 {#19244 -errors: [] -form: Symfony\Component\Form\Form {#19002 …} } |
| form | Symfony\Component\Form\FormView {#19220 …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-danger w-100 mt-3" ] |
[ "class" => "btn btn-danger w-100 mt-3" ] |
| label | "Dodaj u košaricu" |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| attr | [ "class" => "btn btn-danger w-100 mt-3" ] |
| attr_translation_parameters | [] |
| auto_initialize | false |
| block_name | null |
| block_prefix | null |
| disabled | false |
| form_attr | false |
| label | "Dodaj u košaricu" |
| 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-danger 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 {#19250 …5} |
| full_name | "add_to_cart_form[add]" |
| id | "add_to_cart_form_add" |
| label | "Dodaj u košaricu" |
| 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 {#363 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#311 …} -logger: Monolog\Logger {#19 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#568 …} -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) {#19246 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() {#19227 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#393 …} $message: Closure() {#19259 …} $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 {#19267 -errors: [] -form: Symfony\Component\Form\Form {#19249 …} } |
| form | Symfony\Component\Form\FormView {#19263 …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" |