Forms
-
(no name)
-
firstname
-
lastname
-
phoneNumber
-
email
-
country
-
_token
-
(no name)
Form type:
"App\Form\UserType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | App\Entity\User {#386 -id: null -email: null -roles: [] -password: null -firstname: null -lastname: null -phoneNumber: null -country: null -payments: Doctrine\Common\Collections\ArrayCollection {#593 …} -stripeId: null -paypalId: null -billingInfo: [] -wishlist: [] -testimony: null -isActive: null } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| allow_extra_fields | true |
same as passed value |
| data | App\Entity\User {#386 -id: null -email: null -roles: [] -password: null -firstname: null -lastname: null -phoneNumber: null -country: null -payments: Doctrine\Common\Collections\ArrayCollection {#593 …} -stripeId: null -paypalId: null -billingInfo: [] -wishlist: [] -testimony: null -isActive: null } |
same as passed value |
| isCreation | true |
same as passed value |
| label | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | true |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| countries | [] |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data | App\Entity\User {#386 -id: null -email: null -roles: [] -password: null -firstname: null -lastname: null -phoneNumber: null -country: null -payments: Doctrine\Common\Collections\ArrayCollection {#593 …} -stripeId: null -paypalId: null -billingInfo: [] -wishlist: [] -testimony: null -isActive: null } |
| data_class | "App\Entity\User" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#661 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "App\Entity\User" } } |
| 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 | [] |
| isCreation | true |
| is_empty_callback | null |
| label | false |
| 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() {#659 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#660 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "user" "_" ] |
| cache_key | "__user" |
| compound | true |
| data | App\Entity\User {#386 -id: null -email: null -roles: [] -password: null -firstname: null -lastname: null -phoneNumber: null -country: null -payments: Doctrine\Common\Collections\ArrayCollection {#593 …} -stripeId: null -paypalId: null -billingInfo: [] -wishlist: [] -testimony: null -isActive: null } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#774 -errors: [] -form: Symfony\Component\Form\Form {#705 …} } |
| form | Symfony\Component\Form\FormView {#870 …5} |
| full_name | "" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "" |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_" |
| valid | true |
| value | App\Entity\User {#386 -id: null -email: null -roles: [] -password: null -firstname: null -lastname: null -phoneNumber: null -country: null -payments: Doctrine\Common\Collections\ArrayCollection {#593 …} -stripeId: null -paypalId: null -billingInfo: [] -wishlist: [] -testimony: null -isActive: null } |
firstname
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 | [ "class" => "form-control mt-1 mb-4" ] |
[ "class" => "form-control mt-1 mb-4" ] |
| label | "Prénom" |
same as passed value |
| row_attr | [ "class" => "text-left mb-1" ] |
[ "class" => "text-left mb-1" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#683 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 | "Prénom" |
| 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 | [ "class" => "text-left mb-1" ] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#754 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#753 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_firstname" ] |
| cache_key | "_firstname_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#908 -errors: [] -form: Symfony\Component\Form\Form {#898 …} } |
| form | Symfony\Component\Form\FormView {#910 …5} |
| full_name | "firstname" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "firstname" |
| label | "Prénom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "firstname" |
| priority | 0 |
| required | true |
| row_attr | [ "class" => "text-left mb-1" ] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_firstname" |
| valid | true |
| value | "" |
lastname
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 | [ "class" => "form-control mt-1 mb-4" ] |
[ "class" => "form-control mt-1 mb-4" ] |
| label | "Nom" |
same as passed value |
| row_attr | [ "class" => "text-left mb-1" ] |
[ "class" => "text-left mb-1" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#833 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 | "Nom" |
| 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 | [ "class" => "text-left mb-1" ] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#761 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#757 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_lastname" ] |
| cache_key | "_lastname_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#907 -errors: [] -form: Symfony\Component\Form\Form {#896 …} } |
| form | Symfony\Component\Form\FormView {#906 …5} |
| full_name | "lastname" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "lastname" |
| label | "Nom" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "lastname" |
| priority | 0 |
| required | true |
| row_attr | [ "class" => "text-left mb-1" ] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_lastname" |
| valid | true |
| value | "" |
phoneNumber
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 | [ "class" => "form-control mt-1 mb-4" ] |
[ "class" => "form-control mt-1 mb-4" ] |
| label | "Téléphone" |
same as passed value |
| required | false |
same as passed value |
| row_attr | [ "class" => "text-left mb-1" ] |
[ "class" => "text-left mb-1" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#834 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 | "Téléphone" |
| 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 | [ "class" => "text-left mb-1" ] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#841 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#840 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_phoneNumber" ] |
| cache_key | "_phoneNumber_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#905 -errors: [] -form: Symfony\Component\Form\Form {#772 …} } |
| form | Symfony\Component\Form\FormView {#904 …5} |
| full_name | "phoneNumber" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "phoneNumber" |
| label | "Téléphone" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "phoneNumber" |
| priority | 0 |
| required | false |
| row_attr | [ "class" => "text-left mb-1" ] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_phoneNumber" |
| valid | true |
| value | "" |
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 | [ "class" => "form-control mt-1 mb-4" ] |
[ "class" => "form-control mt-1 mb-4" ] |
| label | "E-mail" |
same as passed value |
| row_attr | [ "class" => "text-left mb-1" ] |
[ "class" => "text-left mb-1" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#857 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 | "E-mail" |
| 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 | [ "class" => "text-left mb-1" ] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#852 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#858 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "form-control mt-1 mb-4" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "email" "_email" ] |
| cache_key | "_email_email" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#877 -errors: [] -form: Symfony\Component\Form\Form {#860 …} } |
| form | Symfony\Component\Form\FormView {#876 …5} |
| full_name | "email" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "email" |
| label | "E-mail" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "email" |
| priority | 0 |
| required | true |
| row_attr | [ "class" => "text-left mb-1" ] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_email" |
| valid | true |
| value | "" |
country
Form type:
"Symfony\Bridge\Doctrine\Form\Type\EntityType"
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" => "select2 form-select form-control mt-2 mb-4" "placeholder" => "Sélectionner un pays" ] |
[ "class" => "select2 form-select form-control mt-2 mb-4" "placeholder" => "Sélectionner un pays" ] |
| choice_label | "name" |
same as passed value |
| choice_value | Closure(App\Entity\Country|string|null $entity = null) {#710 class: "App\Form\UserType" this: App\Form\UserType {#365 …} } |
same as passed value |
| class | "App\Entity\Country" |
same as passed value |
| label | "Pays" |
same as passed value |
| query_builder | Closure(CountryRepository $er) {#702 class: "App\Form\UserType" this: App\Form\UserType {#365 …} } |
Doctrine\ORM\QueryBuilder {#763 -dqlParts: [ "distinct" => false "select" => [ Doctrine\ORM\Query\Expr\Select {#765 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [ "Doctrine\ORM\Query\Expr\Func" ] #parts: [ "c" ] } ] "from" => [ Doctrine\ORM\Query\Expr\From {#760 #from: "App\Entity\Country" #alias: "c" #indexBy: null } ] "join" => [] "set" => [] "where" => null "groupBy" => [] "having" => null "orderBy" => [ Doctrine\ORM\Query\Expr\OrderBy {#770 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [] #parts: [ "c.name ASC" ] } ] ] -type: Doctrine\ORM\QueryType {#717 …} -dql: "SELECT c FROM App\Entity\Country c ORDER BY c.name ASC" -parameters: Doctrine\Common\Collections\ArrayCollection {#764 …} -firstResult: 0 -maxResults: null -joinRootAliases: [] #cacheable: false #cacheRegion: null #cacheMode: null #lifetime: 0 -boundCounter: 0 -hints: [] -em: Doctrine\ORM\EntityManager {#427 …11} } |
| row_attr | [ "class" => "text-left mb-1" ] |
[ "class" => "text-left mb-1" ] |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "class" => "select2 form-select form-control mt-2 mb-4" "placeholder" => "Sélectionner un pays" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| choice_attr | null |
| choice_filter | null |
| choice_label | "name" |
| choice_lazy | false |
| choice_loader | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceLoader {#750 -option: Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader {#767 …} } |
| choice_name | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceFieldName {#748 -option: Symfony\Bridge\Doctrine\Form\Type\DoctrineType::createChoiceName(object $choice, string|int $key, string $value): string {#758 …} } |
| choice_translation_domain | false |
| choice_translation_parameters | [] |
| choice_value | Closure(App\Entity\Country|string|null $entity = null) {#710 class: "App\Form\UserType" this: App\Form\UserType {#365 …} } |
| choices | null |
| class | "App\Entity\Country" |
| 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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 0 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| duplicate_preferred_choices | true |
| em | Doctrine\ORM\EntityManager {#427 …11} |
| 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 | [] |
| id_reader | Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader {#743 -singleId: true -intId: true -idField: "id" -associationIdReader: null -om: Doctrine\ORM\EntityManager {#427 …11} -classMetadata: Doctrine\ORM\Mapping\ClassMetadata {#703 …} } |
| inherit_data | false |
| invalid_message | "The selected choice is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | "Pays" |
| 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 |
| query_builder | Doctrine\ORM\QueryBuilder {#763 -dqlParts: [ "distinct" => false "select" => [ Doctrine\ORM\Query\Expr\Select {#765 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [ "Doctrine\ORM\Query\Expr\Func" ] #parts: [ "c" ] } ] "from" => [ Doctrine\ORM\Query\Expr\From {#760 #from: "App\Entity\Country" #alias: "c" #indexBy: null } ] "join" => [] "set" => [] "where" => null "groupBy" => [] "having" => null "orderBy" => [ Doctrine\ORM\Query\Expr\OrderBy {#770 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [] #parts: [ "c.name ASC" ] } ] ] -type: Doctrine\ORM\QueryType {#717 …} -dql: "SELECT c FROM App\Entity\Country c ORDER BY c.name ASC" -parameters: Doctrine\Common\Collections\ArrayCollection {#764 …} -firstResult: 0 -maxResults: null -joinRootAliases: [] #cacheable: false #cacheRegion: null #cacheMode: null #lifetime: 0 -boundCounter: 0 -hints: [] -em: Doctrine\ORM\EntityManager {#427 …11} } |
| required | true |
| row_attr | [ "class" => "text-left mb-1" ] |
| separator | "-------------------" |
| separator_html | false |
| setter | null |
| translation_domain | null |
| trim | false |
| upload_max_size_message | Closure() {#670 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#675 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "class" => "select2 form-select form-control mt-2 mb-4" "placeholder" => "Sélectionner un pays" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "choice" "entity" "_country" ] |
| cache_key | "_country_entity" |
| choice_translation_domain | false |
| choice_translation_parameters | [] |
| choices | [] |
| compound | false |
| data | null |
| disabled | false |
| duplicate_preferred_choices | true |
| errors | Symfony\Component\Form\FormErrorIterator {#874 -errors: [] -form: Symfony\Component\Form\Form {#863 …} } |
| expanded | false |
| form | Symfony\Component\Form\FormView {#873 …5} |
| full_name | "country" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "country" |
| is_selected | Closure($choice, $value) {#893 class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType" } |
| label | "Pays" |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| multiple | false |
| name | "country" |
| placeholder | null |
| placeholder_attr | [] |
| placeholder_in_choices | false |
| preferred_choices | [] |
| priority | 0 |
| required | true |
| row_attr | [ "class" => "text-left mb-1" ] |
| separator | "-------------------" |
| separator_html | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_country" |
| valid | true |
| value | "" |
_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 {#304 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#23 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#97 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#547 …} -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) {#901 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() {#773 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#899 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "__token" ] |
| cache_key | "__token_hidden" |
| compound | false |
| data | "csrf-token" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#937 -errors: [] -form: Symfony\Component\Form\Form {#903 …} } |
| form | Symfony\Component\Form\FormView {#912 …5} |
| full_name | "_token" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "_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 | "__token" |
| valid | true |
| value | "csrf-token" |