Forms
announcement
"App\Form\AnnouncementType"
Default Data
Property | Value |
---|---|
Model Format | same as normalized format |
Normalized Format | App\Entity\Announcement {#1770 #attachments: Doctrine\Common\Collections\ArrayCollection {#1772 …} #id: null #name: null #content: null #publishedAt: DateTime @1753866008 {#1771 : 2025-07-30 17:00:08.332440 Asia/Shanghai (+08:00) } #createdAt: null #updatedAt: null #valid: true } |
View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
Option | Passed Value | Resolved Value |
---|---|---|
data | App\Entity\Announcement {#1770 #attachments: Doctrine\Common\Collections\ArrayCollection {#1772 …} #id: null #name: null #content: null #publishedAt: DateTime @1753866008 {#1771 : 2025-07-30 17:00:08.332440 Asia/Shanghai (+08:00) } #createdAt: null #updatedAt: null #valid: true } |
same as passed value |
Resolved Options
Option | Value |
---|---|
action | "" |
allow_extra_fields | false |
allow_file_upload | false |
attr | [] |
attr_translation_parameters | [] |
auto_initialize | true |
block_name | null |
block_prefix | null |
by_reference | true |
compound | true |
constraints | [] |
csrf_field_name | "_token" |
csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
csrf_protection | true |
csrf_token_id | null |
csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#1886 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#1887 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#1888 …} -namespace: Closure() {#1890 …} } |
data | App\Entity\Announcement {#1770 #attachments: Doctrine\Common\Collections\ArrayCollection {#1772 …} #id: null #name: null #content: null #publishedAt: DateTime @1753866008 {#1771 : 2025-07-30 17:00:08.332440 Asia/Shanghai (+08:00) } #createdAt: null #updatedAt: null #valid: true } |
data_class | "App\Entity\Announcement" |
disabled | false |
empty_data | Closure(FormInterface $form) {#1907 : "Symfony\Component\Form\Extension\Core\Type\FormType" : Symfony\Component\Form\Extension\Core\Type\FormType {#1790 …} : { : "App\Entity\Announcement" } } |
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 | [] |
legacy_error_messages | false |
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() {#1908 : "Symfony\Component\Form\Extension\Core\Type\FormType" : Symfony\Component\Form\Extension\Core\Type\FormType {#1790 …} : { : Symfony\Component\OptionsResolver\OptionsResolver {#1906 …} } } |
validation_groups | null |
View Variables
Variable | Value |
---|---|
action | "" |
attr | [] |
attr_translation_parameters | [] |
block_prefixes | [ "form" "announcement" "_announcement" ] |
cache_key | "_announcement_announcement" |
compound | true |
data | App\Entity\Announcement {#1770 #attachments: Doctrine\Common\Collections\ArrayCollection {#1772 …} #id: null #name: null #content: null #publishedAt: DateTime @1753866008 {#1771 : 2025-07-30 17:00:08.332440 Asia/Shanghai (+08:00) } #createdAt: null #updatedAt: null #valid: true } |
disabled | false |
errors | Symfony\Component\Form\FormErrorIterator {#1978 -form: Symfony\Component\Form\Form {#1964 …} -errors: [] } |
form | Symfony\Component\Form\FormView {#1909 …5} |
full_name | "announcement" |
help | null |
help_attr | [] |
help_html | false |
help_translation_parameters | [] |
id | "announcement" |
label | null |
label_attr | [] |
label_format | null |
label_html | false |
label_translation_parameters | [] |
method | "POST" |
multipart | false |
name | "announcement" |
priority | 0 |
required | true |
row_attr | [] |
size | null |
submitted | false |
translation_domain | null |
unique_block_prefix | "_announcement" |
valid | true |
value | App\Entity\Announcement {#1770 #attachments: Doctrine\Common\Collections\ArrayCollection {#1772 …} #id: null #name: null #content: null #publishedAt: DateTime @1753866008 {#1771 : 2025-07-30 17:00:08.332440 Asia/Shanghai (+08:00) } #createdAt: null #updatedAt: null #valid: true } |