API reference / Quittio \ Core \ Standards
StandardVersion
string-backed enum in quittio/core
Quittio\Core\Standards\StandardVersion · Source
Version of the semantic standard EN 16931-1.
Cases#
| Case | Value | Description |
|---|---|---|
En16931_2017 | 'en16931-2017' | |
En16931_2026 | 'en16931-2026' |
Methods#
| Method | Description |
|---|---|
::default() | |
::fromSpecificationId() | The version of a specification identifier (BT-24): EN 16931:2026 for identifiers that start with its URN, otherwise EN 16931:2017. |
->specificationId() |
default()#
public static function default(): self- Returns
self
fromSpecificationId()#
public static function fromSpecificationId(?string $specificationId): selfThe version of a specification identifier (BT-24): EN 16931:2026 for identifiers that start with its URN, otherwise EN 16931:2017.
| Parameter | Type | Description |
|---|---|---|
$specificationId | ?string |
- Returns
self
specificationId()#
public function specificationId(): string- Returns
string