Urlaubsplan
Lade ...
Suche ...
Keine Treffer
Config::Format Klassenreferenz
Klassendiagramm für Config::Format:
Zusammengehörigkeiten von Config::Format:

Öffentliche Methoden

 getFormatter (string $mime)
 

Öffentliche Attribute

array $supportedResponseFormats
 
array $formatters
 
array $formatterOptions
 

Dokumentation der Elementfunktionen

◆ getFormatter()

Config::Format::getFormatter ( string $mime)

A Factory method to return the appropriate formatter for the given mime type.

Rückgabe
FormatterInterface
Veraltet
This is an alias of Namespace: CodeIgniter\Format\Format::getFormatter. Use that instead.

Dokumentation der Datenelemente

◆ $formatterOptions

array Config::Format::$formatterOptions
Initialisierung:
= [
'application/json' => JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES,
'application/xml' => 0,
'text/xml' => 0,
]

◆ $formatters

array Config::Format::$formatters
Initialisierung:
= [
'application/json' => JSONFormatter::class,
'application/xml' => XMLFormatter::class,
'text/xml' => XMLFormatter::class,
]

◆ $supportedResponseFormats

array Config::Format::$supportedResponseFormats
Initialisierung:
= [
'application/json',
'application/xml',
'text/xml',
]

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: