getFormatType
[ APIフォーマット選択Trait ]
APIのフォーマットをRequestヘッダのContentTypeから決定するよう振る舞う
Default
getFormatType(string $contentType) : string
string
RequestヘッダのContentType
フォーマットクラスのクラス名称(名前空間あり)