API reference / Quittio \ Core \ Profiles
ProfileLevel
int-backed enum in quittio/core
Quittio\Core\Profiles\ProfileLevel · Source
Ordered Factur-X/ZUGFeRD profile levels. Each level contains all fields of the lower levels.
Cases#
| Case | Value | Description |
|---|---|---|
Minimum | 10 | |
BasicWl | 20 | |
Basic | 30 | |
En16931 | 40 | |
Extended | 50 |
Methods#
| Method | Description |
|---|---|
->includes() | Whether this level contains the fields of $other, i.e. is the same or a higher level. |
->label() | Display name of the level as Factur-X/ZUGFeRD spells it, e.g. "BASIC WL". |
includes()#
public function includes(self $other): boolWhether this level contains the fields of $other, i.e. is the same or a higher level.
| Parameter | Type | Description |
|---|---|---|
$other | self |
- Returns
bool
label()#
public function label(): stringDisplay name of the level as Factur-X/ZUGFeRD spells it, e.g. "BASIC WL".
- Returns
string