Skip to content

API FileTools

Christophe SAUVEUR edited this page Sep 29, 2024 · 2 revisions

FileTools Class

chsxf\MFX

class FileTools

Summary

File management helpers

Since 1.0

Methods

mimeTypeFromExtension

public static function mimeTypeFromExtension(string $ext): string

Get file MIME type

Since 1.0

Parameters

Name Type Description
$ext string File extension

Returns

string


Clone this wiki locally