Zum Inhalt springen

API reference / Quittio \ Core \ Codes

RawCode

final readonly class in quittio/core · implements JsonSerializable, Stringable

Quittio\Core\Codes\RawCode · Source

A code that is not (yet) part of the code list enums shipped with the package.

Code lists are extended twice a year. The reader keeps unknown codes instead of failing, and writers accept them for codes that are valid but have no enum case.

Properties#

PropertyTypeDescription
$value readonlystring

Methods#

MethodDescription
->__construct()
->__toString()
->jsonSerialize()

__construct()#

public function __construct(string $value)
ParameterTypeDescription
$valuestring

__toString()#

public function __toString(): string
Returns
string

jsonSerialize()#

public function jsonSerialize(): string
Returns
string

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.