W3cubDocs

/Symfony 4.1

Symfony\Component\HttpFoundation\File\MimeType

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.

Interfaces

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/File/MimeType.html