string|null getClientOriginalName() Returns the original file name. It is extracted from
class UploadedFile extends File
string getClientOriginalExtension() Returns the original file extension. It is extracted
int getError() Returns the upload error. If the upload was successful, the constant UPLOADERROK
string getErrorMessage() Returns an informative upload error message.
File move(string $directory, string $name
bool isValid() Returns whether the file was uploaded successfully.
class File extends SplFileInfo
Classes
string|null getMimeType() Returns the mime type of the file. The mime type is guessed
Page 1 of 2