class MediaTypeRegistry (View source)

IANA registered media types

Traits

SingletonTrait

Methods

boolean
isRegistered(MediaTypeInterface|string $mediaType)

No description

string[]
getTypeList(string $mainType)

No description

Details

boolean isRegistered(MediaTypeInterface|string $mediaType)

Parameters

MediaTypeInterface|string $mediaType

Return Value

boolean

string[] getTypeList(string $mainType)

Parameters

string $mainType Media type main type

Return Value

string[]