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