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