Forms
-
contact
-
type
-
email
-
subject
-
content
-
consent
-
_token
-
contact
Form type:
"App\Form\ContactType"
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 |
|---|---|---|
| data_type | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
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\SameOriginCsrfTokenManager {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| data_type | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#2749 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() {#4102 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#2769 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "contact" "_contact" ] |
| cache_key | "_contact_contact" |
| compound | true |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#3924 -errors: [] -form: Symfony\Component\Form\Form {#3678 …} } |
| form | Symfony\Component\Form\FormView {#4280 …5} |
| full_name | "contact" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "contact" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact" |
| valid | true |
| value | null |
type
Form type:
"Symfony\Component\Form\Extension\Core\Type\EnumType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
| View Format |
"contact"
|
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| choice_label | Closure(ContactTypes $choice) {#1716 class: "App\Form\ContactType" this: App\Form\ContactType {#1184 …} } |
same as passed value |
| class | "App\Enum\ContactTypes" |
same as passed value |
| data | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
same as passed value |
| required | 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 |
| choice_attr | null |
| choice_filter | null |
| choice_label | Closure(ContactTypes $choice) {#1716 class: "App\Form\ContactType" this: App\Form\ContactType {#1184 …} } |
| choice_lazy | false |
| choice_loader | null |
| choice_name | null |
| choice_translation_domain | null |
| choice_translation_parameters | [] |
| choice_value | Closure(?BackedEnum $choice): ?string {#4528 returnType: "?string" class: "Symfony\Component\Form\Extension\Core\Type\EnumType" } |
| choices | [ App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } App\Enum\ContactTypes {#488 +name: "QUOTE" +value: "devis" } ] |
| class | "App\Enum\ContactTypes" |
| 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 {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
| 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." |
| form_attr | false |
| getter | null |
| group_by | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The selected choice 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" |
| multiple | false |
| placeholder | null |
| placeholder_attr | [] |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preferred_choices | [] |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| separator | "-------------------" |
| separator_html | false |
| setter | null |
| translation_domain | null |
| trim | false |
| upload_max_size_message | Closure() {#4289 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#4319 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "choice" "enum" "_contact_type" ] |
| cache_key | "_contact_type_enum" |
| choice_translation_domain | null |
| choice_translation_parameters | [] |
| choices | [ Symfony\Component\Form\ChoiceList\View\ChoiceView {#4127 +data: App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } +value: "contact" +label: "Demande d’information" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#4597 +data: App\Enum\ContactTypes {#488 +name: "QUOTE" +value: "devis" } +value: "devis" +label: "Demande de devis" +attr: [] +labelTranslationParameters: [] } ] |
| compound | false |
| data | App\Enum\ContactTypes {#566 +name: "CONTACT" +value: "contact" } |
| disabled | false |
| duplicate_preferred_choices | true |
| errors | Symfony\Component\Form\FormErrorIterator {#1573 -errors: [] -form: Symfony\Component\Form\Form {#3504 …} } |
| expanded | false |
| form | Symfony\Component\Form\FormView {#3671 …5} |
| full_name | "contact[type]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact_type" |
| is_selected | Closure($choice, $value) {#3009 class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType" } |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| multiple | false |
| name | "type" |
| placeholder | null |
| placeholder_attr | [] |
| placeholder_in_choices | false |
| preferred_choices | [] |
| priority | 0 |
| required | true |
| row_attr | [] |
| separator | "-------------------" |
| separator_html | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact_type" |
| valid | true |
| value | "contact" |
Form type:
"Symfony\Component\Form\Extension\Core\Type\EmailType"
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 | [ "maxlength" => 255 ] |
[ "maxlength" => 255 ] |
| label | "Adresse email" |
same as passed value |
| required | true |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "maxlength" => 255 ] |
| 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 {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#2669 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 | "Please enter a valid email address." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "Adresse email" |
| 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() {#3038 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#4222 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "maxlength" => 255 ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "email" "_contact_email" ] |
| cache_key | "_contact_email_email" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#3630 -errors: [] -form: Symfony\Component\Form\Form {#1089 …} } |
| form | Symfony\Component\Form\FormView {#2451 …5} |
| full_name | "contact[email]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact_email" |
| label | "Adresse email" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "email" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact_email" |
| valid | true |
| value | "" |
subject
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 | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "maxlength" => 255 ] |
[ "maxlength" => 255 ] |
| label | "Objet" |
same as passed value |
| required | true |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "maxlength" => 255 ] |
| 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 {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#3886 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 | "Objet" |
| 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() {#2718 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#3071 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "maxlength" => 255 ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_contact_subject" ] |
| cache_key | "_contact_subject_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#2934 -errors: [] -form: Symfony\Component\Form\Form {#2194 …} } |
| form | Symfony\Component\Form\FormView {#2876 …5} |
| full_name | "contact[subject]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact_subject" |
| label | "Objet" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "subject" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact_subject" |
| valid | true |
| value | "" |
content
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 | [ "placeholder" => "Votre message" "rows" => 3 "maxlength" => 2500 ] |
[ "placeholder" => "Votre message" "rows" => 3 "maxlength" => 2500 ] |
| constraints | [ Symfony\Component\Validator\Constraints\Length {#4269 +payload: null +groups: ? ?array +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 2500 +min: null +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
[ Symfony\Component\Validator\Constraints\Length {#4269 +payload: null +groups: ? ?array +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 2500 +min: null +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| label | "Message" |
same as passed value |
| required | true |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "placeholder" => "Votre message" "rows" => 3 "maxlength" => 2500 ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\Length {#4269 +payload: null +groups: ? ?array +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: 2500 +min: null +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] |
| 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 {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#3041 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 | "Message" |
| 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() {#2727 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#2842 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "placeholder" => "Votre message" "rows" => 3 "maxlength" => 2500 ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "textarea" "_contact_content" ] |
| cache_key | "_contact_content_textarea" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#2360 -errors: [] -form: Symfony\Component\Form\Form {#1242 …} } |
| form | Symfony\Component\Form\FormView {#1276 …5} |
| full_name | "contact[content]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact_content" |
| label | "Message" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "content" |
| pattern | null |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact_content" |
| valid | true |
| value | "" |
consent
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | false |
| View Format |
null
|
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| constraints | [ Symfony\Component\Validator\Constraints\IsTrue {#3320 +payload: null +groups: ? ?array +message: "Vous devez cocher cette case." } ] |
[ Symfony\Component\Validator\Constraints\IsTrue {#3320 +payload: null +groups: ? ?array +message: "Vous devez cocher cette case." } ] |
| label | "J’accepte que mes données soient étudiées dans le cadre de ma demande" |
same as passed value |
| mapped | false |
same as passed value |
| required | 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 | false |
| constraints | [ Symfony\Component\Validator\Constraints\IsTrue {#3320 +payload: null +groups: ? ?array +message: "Vous devez cocher cette case." } ] |
| 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 {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form, $viewData) {#665 class: "Symfony\Component\Form\Extension\Core\Type\CheckboxType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| false_values | [
null
] |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The checkbox has an invalid value." |
| invalid_message_parameters | [] |
| is_empty_callback | Closure($modelData): bool {#614 returnType: "bool" class: "Symfony\Component\Form\Extension\Core\Type\CheckboxType" } |
| label | "J’accepte que mes données soient étudiées dans le cadre de ma demande" |
| 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 | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#2935 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#3704 …} $translationDomain: "validators" } } |
| validation_groups | null |
| value | "1" |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "checkbox" "_contact_consent" ] |
| cache_key | "_contact_consent_checkbox" |
| checked | false |
| compound | false |
| data | false |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#3783 -errors: [] -form: Symfony\Component\Form\Form {#3554 …} } |
| form | Symfony\Component\Form\FormView {#4365 …5} |
| full_name | "contact[consent]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact_consent" |
| label | "J’accepte que mes données soient étudiées dans le cadre de ma demande" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "consent" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact_consent" |
| 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 | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#536 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#68 …} -logger: Monolog\Logger {#181 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#625 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data | "csrf-token" |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#2929 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() {#3364 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#250 …} $message: Closure() {#4111 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_contact__token" ] |
| cache_key | "_contact__token_hidden" |
| compound | false |
| data | "csrf-token" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#4578 -errors: [] -form: Symfony\Component\Form\Form {#3487 …} } |
| form | Symfony\Component\Form\FormView {#2533 …5} |
| full_name | "contact[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact__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 | "_contact__token" |
| valid | true |
| value | "csrf-token" |