function UploadedFile::getClientOriginalName
Returns the original file name.
It is extracted from the request from which the file has been uploaded. This should not be considered as a safe value to use for a file name on your servers.
1 call to UploadedFile::getClientOriginalName()
- UploadedFile::getErrorMessage in vendor/
symfony/ http-foundation/ File/ UploadedFile.php - Returns an informative upload error message.
File
-
vendor/
symfony/ http-foundation/ File/ UploadedFile.php, line 84
Class
- UploadedFile
- A file uploaded through a form.
Namespace
Symfony\Component\HttpFoundation\FileCode
public function getClientOriginalName() : string {
return $this->originalName;
}