mimeType()
mimeType(string $key) : string|false
Retrieves the MIME type of the specified file (key).
This method returns the MIME type of a file identified by its key.
If the MIME type cannot be determined, it should return false.
Parameters
| string | $key | The file key for which the MIME type is being retrieved. |
Returns
string|false —The MIME type of the file, or false if it cannot be determined.