Quittio 0.3 API

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>

serializers()

Serializers for the syntaxes of the pack's formats; a serializer replaces the one of its syntax.

public serializers() : array<int, XmlSerializer>
Return values
array<int, XmlSerializer>
On this page

Search results