Forms
item_type
Form type:
"App\Form\Type\ItemTypeType"
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | App\Entity\ItemType {#625 -id: 16 -name: "Fighter toad" -img: "units/fighter-toad.jpg" -cost: 1000 -type: "unit" -maxStack: 1 -data: [ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] } |
View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
Option | Passed Value | Resolved Value |
---|---|---|
data | App\Entity\ItemType {#625 -id: 16 -name: "Fighter toad" -img: "units/fighter-toad.jpg" -cost: 1000 -type: "unit" -maxStack: 1 -data: [ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] } |
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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data | App\Entity\ItemType {#625 -id: 16 -name: "Fighter toad" -img: "units/fighter-toad.jpg" -cost: 1000 -type: "unit" -maxStack: 1 -data: [ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] } |
data_class | "App\Entity\ItemType" |
disabled | false |
empty_data | Closure(FormInterface $form) {#720 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "App\Entity\ItemType" } } |
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() {#718 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#719 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "item_type" "_item_type" ] |
cache_key | "_item_type_item_type" |
compound | true |
data | App\Entity\ItemType {#625 -id: 16 -name: "Fighter toad" -img: "units/fighter-toad.jpg" -cost: 1000 -type: "unit" -maxStack: 1 -data: [ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] } |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#811 -form: Symfony\Component\Form\Form {#788 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#717 …5} |
full_name | "item_type" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "item_type" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type" |
valid | true |
value | App\Entity\ItemType {#625 -id: 16 -name: "Fighter toad" -img: "units/fighter-toad.jpg" -cost: 1000 -type: "unit" -maxStack: 1 -data: [ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] } |
name
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 | "Fighter toad" |
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 | 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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#706 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 |
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() {#708 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#707 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "text" "_item_type_name" ] |
cache_key | "_item_type_name_text" |
compound | false |
data | "Fighter toad" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#840 -form: Symfony\Component\Form\Form {#860 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#838 …5} |
full_name | "item_type[name]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_name" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "name" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_name" |
valid | true |
value | "Fighter toad" |
img
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 | "units/fighter-toad.jpg" |
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 | 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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#715 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 |
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() {#728 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#716 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "text" "_item_type_img" ] |
cache_key | "_item_type_img_text" |
compound | false |
data | "units/fighter-toad.jpg" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#841 -form: Symfony\Component\Form\Form {#857 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#842 …5} |
full_name | "item_type[img]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_img" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "img" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_img" |
valid | true |
value | "units/fighter-toad.jpg" |
cost
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | 1000 |
View Format |
"1000"
|
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\CsrfTokenManager {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#740 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 | [] |
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() {#747 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#746 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [ "inputmode" => "decimal" ] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "number" "_item_type_cost" ] |
cache_key | "_item_type_cost_number" |
compound | false |
data | 1000 |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#843 -form: Symfony\Component\Form\Form {#854 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#845 …5} |
full_name | "item_type[cost]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_cost" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "cost" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_cost" |
valid | true |
value | "1000" |
type
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 | "unit" |
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 | 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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#758 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 |
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() {#759 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#761 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "text" "_item_type_type" ] |
cache_key | "_item_type_type_text" |
compound | false |
data | "unit" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#786 -form: Symfony\Component\Form\Form {#863 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#650 …5} |
full_name | "item_type[type]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_type" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "type" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_type" |
valid | true |
value | "unit" |
max_stack
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
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\CsrfTokenManager {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#766 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 | [] |
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() {#768 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#767 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [ "inputmode" => "decimal" ] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "number" "_item_type_max_stack" ] |
cache_key | "_item_type_max_stack_number" |
compound | false |
data | 1 |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#772 -form: Symfony\Component\Form\Form {#866 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#756 …5} |
full_name | "item_type[max_stack]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_max_stack" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "max_stack" |
priority | 0 |
required | true |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_max_stack" |
valid | true |
value | "1" |
data
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format |
[ "unit" => [ "hp" => 100 "damage" => 25 "heal" => 0 "speed" => 50 "xp_level_factor" => 80 "xp_when_killed" => 20 "abilities" => [ [ "type" => "attack" "target_type" => "enemy" "damage_type" => "physical" "reach" => "adjacent" ] ] ] ] |
Normalized Format | "{"unit":{"hp":100,"damage":25,"heal":0,"speed":50,"xp_level_factor":80,"xp_when_killed":20,"abilities":[{"type":"attack","target_type":"enemy","damage_type":"physical","reach":"adjacent"}]}}" |
View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
Option | Passed Value | Resolved Value |
---|---|---|
constraints | [ App\Validator\Constraints\ValidJson {#763 +payload: null +message: "The JSON is not valid." } ] |
[ App\Validator\Constraints\ValidJson {#763 +payload: null +message: "The JSON is not valid." } ] |
label | "Data" |
same as passed value |
required | false |
false
|
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 | [ App\Validator\Constraints\ValidJson {#763 +payload: null +message: "The JSON is not valid." } ] |
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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#732 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 |
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 | "Data" |
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() {#733 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#695 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "text" "textarea" "_item_type_data" ] |
cache_key | "_item_type_data_textarea" |
compound | false |
data | "{"unit":{"hp":100,"damage":25,"heal":0,"speed":50,"xp_level_factor":80,"xp_when_killed":20,"abilities":[{"type":"attack","target_type":"enemy","damage_type":"physical","reach":"adjacent"}]}}" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#748 -form: Symfony\Component\Form\Form {#829 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#734 …5} |
full_name | "item_type[data]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type_data" |
label | "Data" |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "data" |
pattern | null |
priority | 0 |
required | false |
row_attr | [] |
submitted | false |
translation_domain | null |
unique_block_prefix | "_item_type_data" |
valid | true |
value | "{"unit":{"hp":100,"damage":25,"heal":0,"speed":50,"xp_level_factor":80,"xp_when_killed":20,"abilities":[{"type":"attack","target_type":"enemy","damage_type":"physical","reach":"adjacent"}]}}" |
save
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 |
---|---|---|
label | "Update Item" |
same as passed value |
Resolved Options
Option | Value |
---|---|
attr | [] |
attr_translation_parameters | [] |
auto_initialize | false |
block_name | null |
block_prefix | null |
disabled | false |
form_attr | false |
label | "Update Item" |
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 | [] |
attr_translation_parameters | [] |
block_prefixes | [ "button" "submit" "_item_type_save" ] |
cache_key | "_item_type_save_submit" |
clicked | false |
disabled | false |
form | Symfony\Component\Form\FormView {#812 …5} |
full_name | "item_type[save]" |
id | "item_type_save" |
label | "Update Item" |
label_format | null |
label_html | false |
label_translation_parameters | [] |
multipart | false |
name | "save" |
priority | 0 |
row_attr | [] |
translation_domain | null |
unique_block_prefix | "_item_type_save" |
value | null |
_token
Errors
This form has no errors.
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | "0d.IUAri0e1r4cGu8LB2qcyKh0W3kGsLXC-cURfxWy23A4.WRpI3xDY8PVn_YCtl81mZ3FTqgDzTiHhJDQphCDstVFbeF7GDozl1UT2rQ" |
View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
Option | Passed Value | Resolved Value |
---|---|---|
block_prefix | "csrf_token" |
same as passed value |
data | "0d.IUAri0e1r4cGu8LB2qcyKh0W3kGsLXC-cURfxWy23A4.WRpI3xDY8PVn_YCtl81mZ3FTqgDzTiHhJDQphCDstVFbeF7GDozl1UT2rQ" |
same as passed value |
mapped | false |
false
|
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 | "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 {#635 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#633 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#636 …} -namespace: Closure() {#638 …} } |
data | "0d.IUAri0e1r4cGu8LB2qcyKh0W3kGsLXC-cURfxWy23A4.WRpI3xDY8PVn_YCtl81mZ3FTqgDzTiHhJDQphCDstVFbeF7GDozl1UT2rQ" |
data_class | null |
disabled | false |
empty_data | Closure(FormInterface $form) {#873 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() {#877 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#301 …} $message: Closure() {#874 …} $translationDomain: "validators" } } |
validation_groups | null |
View Vars
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "hidden" "csrf_token" "_item_type__token" ] |
cache_key | "_item_type__token_hidden" |
compound | false |
data | "0d.IUAri0e1r4cGu8LB2qcyKh0W3kGsLXC-cURfxWy23A4.WRpI3xDY8PVn_YCtl81mZ3FTqgDzTiHhJDQphCDstVFbeF7GDozl1UT2rQ" |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#887 -form: Symfony\Component\Form\Form {#883 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#878 …5} |
full_name | "item_type[_token]" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "item_type__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 | "_item_type__token" |
valid | true |
value | "0d.IUAri0e1r4cGu8LB2qcyKh0W3kGsLXC-cURfxWy23A4.WRpI3xDY8PVn_YCtl81mZ3FTqgDzTiHhJDQphCDstVFbeF7GDozl1UT2rQ" |