ProvidesFormats
in
A country pack that brings output formats, e.g. a national e-invoice format, with their aliases and the serializers of their syntaxes. Quittio::registerCountry() registers them.
AbstractCountryPack implements it with empty defaults.
Table of Contents
Methods
- formatAliases() : array<string, string>
- Further names of formats: alias => format key, e.g. ['xrechnung' => 'xrechnung-cii'].
- formats() : array<int, OutputFormat>
- Formats of the pack; a format with the key of a registered one replaces it.
- serializers() : array<int, XmlSerializer>
- Serializers for the syntaxes of the pack's formats; a serializer replaces the one of its syntax.
Methods
formatAliases()
Further names of formats: alias => format key, e.g. ['xrechnung' => 'xrechnung-cii'].
public
formatAliases() : array<string, string>
Return values
array<string, string>formats()
Formats of the pack; a format with the key of a registered one replaces it.
public
formats() : array<int, OutputFormat>
Return values
array<int, OutputFormat>serializers()
Serializers for the syntaxes of the pack's formats; a serializer replaces the one of its syntax.
public
serializers() : array<int, XmlSerializer>