constraints |
[
Symfony\Component\Validator\Constraints\NotBlank {#6343
+payload: null
+groups: [
"Default"
]
+message: "This value should not be blank."
+allowNull: false
+normalizer: null
}
Symfony\Component\Validator\Constraints\File {#6344
+payload: null
+groups: [
"Default"
]
+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: "The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}."
+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: 5000000
}
] |
[
Symfony\Component\Validator\Constraints\NotBlank {#6343
+payload: null
+groups: [
"Default"
]
+message: "This value should not be blank."
+allowNull: false
+normalizer: null
}
Symfony\Component\Validator\Constraints\File {#6344
+payload: null
+groups: [
"Default"
]
+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: "The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}."
+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: 5000000
}
]
|