action |
"" |
allow_extra_fields |
false |
allow_file_upload |
true |
attr |
[
"accept" => ".csv,text/csv,application/csv"
] |
attr_translation_parameters |
[] |
auto_initialize |
true |
block_name |
null |
block_prefix |
null |
by_reference |
true |
compound |
false |
constraints |
[
Symfony\Component\Validator\Constraints\File {#1626
+binaryFormat: false
+mimeTypes: []
+notFoundMessage: "The file could not be found."
+notReadableMessage: "The file is not readable."
+maxSizeMessage: "The file is too large ({{ size }} {{ suffix }}). Allowed maximum size is {{ limit }} {{ suffix }}."
+mimeTypesMessage: "File must be smaller than 1MB"
+disallowEmptyMessage: "An empty file is not allowed."
+uploadIniSizeErrorMessage: "The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}."
+uploadFormSizeErrorMessage: "The file is too large."
+uploadPartialErrorMessage: "The file was only partially uploaded."
+uploadNoFileErrorMessage: "No file was uploaded."
+uploadNoTmpDirErrorMessage: "No temporary folder was configured in php.ini."
+uploadCantWriteErrorMessage: "Cannot write temporary file to disk."
+uploadExtensionErrorMessage: "A PHP extension caused the upload to fail."
+uploadErrorMessage: "The file could not be uploaded."
#maxSize: 1000000
+payload: null
+groups: [
"Default"
]
}
] |
csrf_field_name |
"_token" |
csrf_message |
"The CSRF token is invalid. Please try to resubmit the form." |
csrf_protection |
true |
csrf_token_id |
null |
csrf_token_manager |
Symfony\Component\Security\Csrf\CsrfTokenManager {#1422
-generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#1423 …}
-storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#1424 …}
-namespace: Closure() {#1426 …}
} |
data |
Symfony\Component\HttpFoundation\File\File {#1627
path: ""
filename: "test"
basename: "test"
pathname: "test"
extension: ""
realPath: false
writable: false
readable: false
executable: false
file: false
dir: false
link: false
} |
data_class |
"Symfony\Component\HttpFoundation\File\File" |
disabled |
false |
empty_data |
null |
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 |
"Select CSV file" |
label_attr |
[] |
label_format |
null |
label_html |
false |
label_translation_parameters |
[] |
legacy_error_messages |
true |
mapped |
true |
method |
"POST" |
multiple |
false |
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() {#1635
class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
this: Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension {#1428 …}
use: {
$translator: Symfony\Component\Translation\DataCollectorTranslator {#837 …}
$translationDomain: "validators"
$message: Closure() {#1636 …}
}
} |
validation_groups |
null |