\Symfony\Component\HttpFoundation\FileMimeType

Interfaces

ExtensionGuesserInterface Guesses the file extension corresponding to a given mime type.
MimeTypeGuesserInterface Guesses the mime type of a file.

Classes

ExtensionGuesser A singleton mime type to file extension guesser.
FileBinaryMimeTypeGuesser Guesses the mime type with the binary "file" (only available on *nix).
FileinfoMimeTypeGuesser Guesses the mime type using the PECL extension FileInfo.
MimeTypeExtensionGuesser Provides a best-guess mapping of mime type to file extension.
MimeTypeGuesser A singleton mime type guesser.