\GingerFormat

Ginger Format Handler

Summary

Methods
Properties
Constants
getFormatByAcceptHeader()
$format
$mimetype
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$allowedFormats
$mimeMapper
N/A

Properties

$format

$format : string

format

(default value: "json")

Type

string

$mimetype

$mimetype : string

mimetype

(default value: "application/json")

Type

string

$allowedFormats

$allowedFormats : mixed

allowedFormats

Type

mixed

$mimeMapper

$mimeMapper : mixed

mimeMapper

Type

mixed

Methods

getFormatByAcceptHeader()

getFormatByAcceptHeader(mixed $header) : void

getFormatByAcceptHeader function.

Parameters

mixed $header