Documentation

Format
in package

The Format class is a convenient place to create Formatters.

Table of Contents

$config  : Format
Configuration instance
__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

Methods

__construct()

Constructor.

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

getConfig()

Returns the current configuration instance.

public getConfig() : Format
Return values
Format

Search results