MimeType
final class MimeType (View source)
Carries one normalized media type without client-supplied parameters.
Methods
fromString(string $value)
Normalizes and validates the media type while discarding optional parameters
value()
Returns the normalized type/subtype value used by catalog lookups
string
Details
fromString
static MimeType
fromString(string $value)
Normalizes and validates the media type while discarding optional parameters
value
string
value()
Returns the normalized type/subtype value used by catalog lookups