\sRMime

Summary

Methods
Properties
Constants
getFilename()
getMimeTypes()
mime()
No public properties found
Name
No protected methods found
No protected properties found
N/A
No private methods found
$mimeType
N/A

Constants

Name

Name = 'mime.types'

Properties

$mimeType

$mimeType : 

Type

Methods

getFilename()

getFilename() : string

Returns

string

getMimeTypes()

getMimeTypes(null|string  $filename = null) : array

获取mime 数据类型

Parameters

null|string $filename

Returns

array

mime()

mime(string  $file) : null|string

获取mime类型

Parameters

string $file

Returns

null|string