function UploadedFile::getClientOriginalPath
Returns the original file full path.
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/path on your servers.
If this file was uploaded with the "webkitdirectory" upload directive, this will contain the path of the file relative to the uploaded root directory. Otherwise this will be identical to getClientOriginalName().
File
-
vendor/
symfony/ http-foundation/ File/ UploadedFile.php, line 110
Class
- UploadedFile
- A file uploaded through a form.
Namespace
Symfony\Component\HttpFoundation\FileCode
public function getClientOriginalPath() : string {
return $this->originalPath;
}