Skip to content

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#

CaseValueDescription
En16931_2017'en16931-2017'
En16931_2026'en16931-2026'

Methods#

MethodDescription
::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

static

Returns
self

fromSpecificationId()#

public static function fromSpecificationId(?string $specificationId): self

static

The version of a specification identifier (BT-24): EN 16931:2026 for identifiers that start with its URN, otherwise EN 16931:2017.

ParameterTypeDescription
$specificationId?string
Returns
self

specificationId()#

public function specificationId(): string
Returns
string

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.