MimeTypesInterface
interface MimeTypesInterface implementsMimeTypeGuesserInterface
Methods
string|null
guessMimeType(string$path)
Guesses the MIME type of the file with the given path.
array
getExtensions(string$mimeType)
Gets the extensions for the given MIME type in decreasing order of preference.
array
getMimeTypes(string$ext)
Gets the MIME types for the given extension in decreasing order of preference.