CodeIgniter v4.5 API

Format
in package

The Format class is a convenient place to create Formatters.

Tags
see
FormatTest

Table of Contents

Properties

$config  : Format
Configuration instance

Methods

__construct()  : mixed
Constructor.
getConfig()  : Format
Returns the current configuration instance.
getFormatter()  : FormatterInterface
A Factory method to return the appropriate formatter for the given mime type.

Properties

$config

Configuration instance

protected Format $config

Methods

__construct()

Constructor.

public __construct(Format $config) : mixed
Parameters
$config : Format

getConfig()

Returns the current configuration instance.

public getConfig() : Format
Return values
Format

        
On this page

Search results