string|null getClientOriginalName() Returns the original file name. It is extracted from
string getClientOriginalExtension() Returns the original file extension. It is extracted
interface ExtensionGuesserInterface Guesses the file extension corresponding to a given mime type
class UploadedFile extends File
class MimeTypeExtensionGuesser implements
string guess(string $path) Guesses the mime type of the file with the given path.
File move(string $directory, string $name
bool isValid() Returns whether the file was uploaded successfully.
string guess(string $path) Tries to guess the mime type of the given file. The file is
int getError() Returns the upload error. If the upload was successful, the constant UPLOADERROK
Page 1 of 4