PHP Interface Neomerx\JsonApi\Contracts\Http\Headers\HeaderInterface

Exibir arquivo Open project: neomerx/json-api Interface Usage Examples

Public Methods

Method Description
getMediaTypes ( ) : Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface[] Get media types.
getName ( ) : string Get header name.

Method Details

getMediaTypes() public method

Get media types.
public getMediaTypes ( ) : Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface[]
return Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface[]

getName() public method

Get header name.
public getName ( ) : string
return string