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) {#659 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() {#657 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#658 …} $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 {#772 -errors: [] -form: Symfony\Component\Form\Form {#703 …} } |
| form | Symfony\Component\Form\FormView {#868 …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) {#681 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() {#752 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#751 …} $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 {#906 -errors: [] -form: Symfony\Component\Form\Form {#896 …} } |
| form | Symfony\Component\Form\FormView {#908 …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) {#831 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() {#759 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#755 …} $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 {#905 -errors: [] -form: Symfony\Component\Form\Form {#894 …} } |
| form | Symfony\Component\Form\FormView {#904 …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) {#832 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() {#839 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#838 …} $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 {#903 -errors: [] -form: Symfony\Component\Form\Form {#770 …} } |
| form | Symfony\Component\Form\FormView {#902 …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) {#855 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() {#850 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#856 …} $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 {#875 -errors: [] -form: Symfony\Component\Form\Form {#858 …} } |
| form | Symfony\Component\Form\FormView {#874 …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) {#708 class: "App\Form\UserType" this: App\Form\UserType {#598 …} } |
same as passed value |
| class | "App\Entity\Country" |
same as passed value |
| label | "Pays" |
same as passed value |
| query_builder | Closure(CountryRepository $er) {#700 class: "App\Form\UserType" this: App\Form\UserType {#598 …} } |
Doctrine\ORM\QueryBuilder {#761 -dqlParts: [ "distinct" => false "select" => [ Doctrine\ORM\Query\Expr\Select {#763 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [ "Doctrine\ORM\Query\Expr\Func" ] #parts: [ "c" ] } ] "from" => [ Doctrine\ORM\Query\Expr\From {#758 #from: "App\Entity\Country" #alias: "c" #indexBy: null } ] "join" => [] "set" => [] "where" => null "groupBy" => [] "having" => null "orderBy" => [ Doctrine\ORM\Query\Expr\OrderBy {#768 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [] #parts: [ "c.name ASC" ] } ] ] -type: Doctrine\ORM\QueryType {#715 …} -dql: "SELECT c FROM App\Entity\Country c ORDER BY c.name ASC" -parameters: Doctrine\Common\Collections\ArrayCollection {#762 …} -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 {#748 -option: Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader {#765 …} } |
| choice_name | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceFieldName {#746 -option: Symfony\Bridge\Doctrine\Form\Type\DoctrineType::createChoiceName(object $choice, string|int $key, string $value): string {#756 …} } |
| choice_translation_domain | false |
| choice_translation_parameters | [] |
| choice_value | Closure(App\Entity\Country|string|null $entity = null) {#708 class: "App\Form\UserType" this: App\Form\UserType {#598 …} } |
| 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 {#741 -singleId: true -intId: true -idField: "id" -associationIdReader: null -om: Doctrine\ORM\EntityManager {#427 …11} -classMetadata: Doctrine\ORM\Mapping\ClassMetadata {#701 …} } |
| 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 {#761 -dqlParts: [ "distinct" => false "select" => [ Doctrine\ORM\Query\Expr\Select {#763 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [ "Doctrine\ORM\Query\Expr\Func" ] #parts: [ "c" ] } ] "from" => [ Doctrine\ORM\Query\Expr\From {#758 #from: "App\Entity\Country" #alias: "c" #indexBy: null } ] "join" => [] "set" => [] "where" => null "groupBy" => [] "having" => null "orderBy" => [ Doctrine\ORM\Query\Expr\OrderBy {#768 #preSeparator: "" #separator: ", " #postSeparator: "" #allowedClasses: [] #parts: [ "c.name ASC" ] } ] ] -type: Doctrine\ORM\QueryType {#715 …} -dql: "SELECT c FROM App\Entity\Country c ORDER BY c.name ASC" -parameters: Doctrine\Common\Collections\ArrayCollection {#762 …} -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() {#668 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#673 …} $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 {#872 -errors: [] -form: Symfony\Component\Form\Form {#861 …} } |
| expanded | false |
| form | Symfony\Component\Form\FormView {#871 …5} |
| full_name | "country" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "country" |
| is_selected | Closure($choice, $value) {#891 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) {#899 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() {#771 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#308 …} $message: Closure() {#897 …} $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 {#935 -errors: [] -form: Symfony\Component\Form\Form {#901 …} } |
| form | Symfony\Component\Form\FormView {#910 …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" |