AudioMimeTypeTrait
The trait to register all audio mime types.
This trait provides constants for widely used audio MIME types, which can be used to validate or set content-type headers safely.
Tags
Table of Contents
Constants
- AAC = 'audio/aac'
- FLAC = 'audio/flac'
- M4A = ['audio/mp4', 'audio/x-m4a']
- MP3 = 'audio/mpeg'
- OGG = 'audio/ogg'
- WAV = 'audio/wav'
- WMA = 'audio/x-ms-wma'
Constants
AAC
public
mixed
AAC
= 'audio/aac'
FLAC
public
mixed
FLAC
= 'audio/flac'
M4A
public
mixed
M4A
= ['audio/mp4', 'audio/x-m4a']
MP3
public
mixed
MP3
= 'audio/mpeg'
OGG
public
mixed
OGG
= 'audio/ogg'
WAV
public
mixed
WAV
= 'audio/wav'
WMA
public
mixed
WMA
= 'audio/x-ms-wma'