FileinfoMimeTypeGuesser
class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
Guesses the mime type using the PECL extension FileInfo.
Methods
__construct(string $magicFile = null)
No description
static bool
isSupported()
Returns whether this guesser is supported on the current OS/PHP setup.
string
guess(string $path)
Guesses the mime type of the file with the given path.