PHP Class PHPDaemon\Utils\MIME

Author: Vasily Zorin ([email protected])
Inheritance: use trait PHPDaemon\Traits\ClassWatchdog, use trait PHPDaemon\Traits\StaticObjectWatchdog
Afficher le fichier Open project: kakserpom/phpdaemon Class Usage Examples

Protected Properties

Свойство Type Description
$fileTypes MIME types

Méthodes publiques

Méthode Description
get ( string $path ) : string Returns MIME type of the given file

Method Details

get() public static méthode

Returns MIME type of the given file
public static get ( string $path ) : string
$path string Path
Résultat string MIME type

Property Details

$fileTypes protected_oe static_oe property

MIME types
protected static $fileTypes