PHP Interface Inpsyde\MultilingualPress\Common\AcceptHeader\AcceptHeaderParser

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
parse ( string $header ) : array Parses the given Accept header and returns the according data in array form.

Method Details

parse() public method

Parses the given Accept header and returns the according data in array form.
Since: 3.0.0
public parse ( string $header ) : array
$header string Accept header string.
return array Parsed Accept header in array form.