FileType : int
Table of Contents
Cases
- APPLICATION = 5
- Any kind of application
- AUDIO = 3
- Any kind of audio file
- IMAGE = 2
- Any kind of image
- TEXT = 1
- Any kind of text
- UNKNOWN
- any other file
- VIDEO = 4
- Any kind of video
Methods
- tryFromMimeType() : self
Cases
UNKNOWN
any other file
TEXT
Any kind of text
Tags
IMAGE
Any kind of image
Tags
AUDIO
Any kind of audio file
Tags
VIDEO
Any kind of video
Tags
APPLICATION
Any kind of application
Tags
Methods
tryFromMimeType()
public
static tryFromMimeType(string $mimeType) : self
Parameters
- $mimeType : string