class ContentTypeHeaderValue implements HeaderValueInterface (View source)

Content-Type header value

Methods

__construct(MediaType $mediaType = null)

No description

__toString()

No description

MediaType
getMediaType()

No description

static ContentTypeHeaderValue[]|number[]
parseFieldValueString(string $text)

No description

Details

__construct(MediaType $mediaType = null)

Parameters

MediaType $mediaType

__toString()

MediaType getMediaType()

Return Value

MediaType

static ContentTypeHeaderValue[]|number[] parseFieldValueString(string $text)

Parameters

string $text Header value

Return Value

ContentTypeHeaderValue[]|number[] Array containing The HeaderValue and the consumned bytes