Quittio 0.3 API

FormatRegistry
in package

FinalYes

Known output formats. Country and network packages can register national formats.

Table of Contents

Constants

CII  : string = 'cii'
FACTUR_X  : string = 'factur-x'
HTML  : string = 'html'
JSON  : string = 'json'
PDF  : string = 'pdf'
PEPPOL  : string = 'peppol'
UBL  : string = 'ubl'
XRECHNUNG_CII  : string = 'xrechnung-cii'
XRECHNUNG_UBL  : string = 'xrechnung-ubl'
ZUGFERD  : string = 'zugferd'

Methods

alias()  : self
all()  : array<string, OutputFormat>
get()  : OutputFormat
has()  : bool
register()  : self
withDefaults()  : self

Constants

XRECHNUNG_CII

the German pack registers XRechnung, use Quittio\Country\DE\Formats\XRechnungFormats::CII

public string XRECHNUNG_CII = 'xrechnung-cii'

XRECHNUNG_UBL

the German pack registers XRechnung, use Quittio\Country\DE\Formats\XRechnungFormats::UBL

public string XRECHNUNG_UBL = 'xrechnung-ubl'

Methods

alias()

public alias(string $alias, string $key) : self
Parameters
$alias : string
$key : string
Return values
self

has()

public has(string $key) : bool
Parameters
$key : string
Return values
bool

withDefaults()

public static withDefaults() : self
Return values
self
On this page

Search results