芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/minscoop.com/app/Config/Format.php
*/ public array $formatters = [ 'application/json' => JSONFormatter::class, 'application/xml' => XMLFormatter::class, 'text/xml' => XMLFormatter::class, ]; /** * -------------------------------------------------------------------------- * Formatters Options * -------------------------------------------------------------------------- * * Additional Options to adjust default formatters behaviour. * For each mime type, list the additional options that should be used. * * @var array
*/ public array $formatterOptions = [ 'application/json' => JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES, 'application/xml' => 0, 'text/xml' => 0, ]; /** * A Factory method to return the appropriate formatter for the given mime type. * * @return FormatterInterface * * @deprecated This is an alias of `\CodeIgniter\Format\Format::getFormatter`. Use that instead. */ public function getFormatter(string $mime) { return Services::format()->getFormatter($mime); } }