string getClientOriginalExtension() Returns the original file extension. It is extracted
interface ExtensionGuesserInterface Guesses the file extension corresponding to a given mime type
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 MimeTypeExtensionGuesser implements
class UploadedFile extends File
bool isValid() Returns whether the file was uploaded successfully.
int getError() Returns the upload error. If the upload was successful, the constant UPLOADERROK
class File extends SplFileInfo
string getErrorMessage() Returns an informative upload error message.
Page 1 of 4