| constraints |
[
Symfony\Component\Validator\Constraints\File {#1797
+payload: null
+groups: ?
+binaryFormat: false
+mimeTypes: [
"application/pdf"
"application/x-pdf"
"application/msword"
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"application/vnd.ms-excel"
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"image/jpeg"
"image/jpg"
"image/png"
"application/vnd.ms-powerpoint"
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
"application/vnd.oasis.opendocument.text"
"application/vnd.oasis.opendocument.presentation"
"application/vnd.oasis.opendocument.spreadsheet"
]
+filenameMaxLength: null
+extensions: []
+notFoundMessage: "The file could not be found."
+notReadableMessage: "The file is not readable."
+maxSizeMessage: "Veuillez insérer un fichier de moins de 4M"
+mimeTypesMessage: "Veuillez insérer un fichier valide (pdf, doc, docx, xls, xlsx, jpeg, jpg, png, ppt, pptx, odt, odp, ods)"
+extensionsMessage: "The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}."
+disallowEmptyMessage: "An empty file is not allowed."
+filenameTooLongMessage: "The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less."
+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: 4096000
}
] |
[
Symfony\Component\Validator\Constraints\File {#1797
+payload: null
+groups: ?
+binaryFormat: false
+mimeTypes: [
"application/pdf"
"application/x-pdf"
"application/msword"
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"application/vnd.ms-excel"
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"image/jpeg"
"image/jpg"
"image/png"
"application/vnd.ms-powerpoint"
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
"application/vnd.oasis.opendocument.text"
"application/vnd.oasis.opendocument.presentation"
"application/vnd.oasis.opendocument.spreadsheet"
]
+filenameMaxLength: null
+extensions: []
+notFoundMessage: "The file could not be found."
+notReadableMessage: "The file is not readable."
+maxSizeMessage: "Veuillez insérer un fichier de moins de 4M"
+mimeTypesMessage: "Veuillez insérer un fichier valide (pdf, doc, docx, xls, xlsx, jpeg, jpg, png, ppt, pptx, odt, odp, ods)"
+extensionsMessage: "The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}."
+disallowEmptyMessage: "An empty file is not allowed."
+filenameTooLongMessage: "The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less."
+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: 4096000
}
]
|