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

Inheritance: extends Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface
Mostra file Open project: neomerx/json-api

Public Methods

Method Description
getExtensions ( ) : string>\arraynull Get media type extension parameters.
getPosition ( ) : integer Get initial position of the media type in header (needed for stable sorting).
getQuality ( ) : float Get quality factor.

Method Details

getExtensions() public method

Get media type extension parameters.
public getExtensions ( ) : string>\arraynull
return string>\arraynull

getPosition() public method

Get initial position of the media type in header (needed for stable sorting).
public getPosition ( ) : integer
return integer

getQuality() public method

Get quality factor.
public getQuality ( ) : float
return float Quality factor [0 .. 1]