ExtensionGuesser::guess()

string guess(string $mimeType)

Tries to guess the extension.

The mime type is passed to each registered mime type guesser in reverse order of their registration (last registered is queried first). Once a guesser returns a value that is not NULL, this method terminates and returns the value.

Parameters

string $mimeType The mime type

Return Value

string The guessed extension or NULL, if none could be guessed
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.