PHP Class PHPDaemon\Utils\MIME

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

Protected Properties

Property Type Description
$fileTypes MIME types

Public Methods

Method Description
get ( string $path ) : string Returns MIME type of the given file

Method Details

get() public static method

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

Property Details

$fileTypes protected_oe static_oe property

MIME types
protected static $fileTypes