Quittio 0.3 API

ProfileRegistry
in package

FinalYes

Known profiles by key. Country packs and network packages register further profiles.

Table of Contents

Methods

__construct()  : mixed
alias()  : self
all()  : array<string, Profile>
bySpecificationId()  : Profile|null
Finds the profile for a specification identifier (BT-24), e.g. when reading an invoice.
get()  : Profile
has()  : bool
register()  : self
withDefaults()  : self

Methods

__construct()

public __construct([iterable<string|int, Profile> $profiles = [] ]) : mixed
Parameters
$profiles : iterable<string|int, Profile> = []

alias()

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

bySpecificationId()

Finds the profile for a specification identifier (BT-24), e.g. when reading an invoice.

public bySpecificationId(string $specificationId) : Profile|null
Parameters
$specificationId : string
Return values
Profile|null

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