string|null
getMimeType()
Returns the mime type of the file. The mime type is guessed using a MimeTypeGuesser instance, which uses finfo(), mimecontenttype() and the system binary "file" (in this order), depending on which of those are available.
Return Value string|null The guessed mime type (e.g. "application/pdf") See also MimeTypeGuesser