detectByContent() detectByContent(mixed $content) : string|null Detects MIME Type based on given content. Parameters mixed $content Returns string|null — MIME Type or NULL if no mime type detected
detectByFileExtension() detectByFileExtension(string $extension) : string|null Detects MIME Type based on file extension. Parameters string $extension Returns string|null — MIME Type or NULL if no extension detected
detectByFilename() detectByFilename(string $filename) : string|null Parameters string $filename Returns string|null — MIME Type or NULL if no extension detected
getExtensionToMimeTypeMap() getExtensionToMimeTypeMap() : array Returns array — Map of file extension to MIME Type