Skip to content

API reference / Quittio \ Core \ Formats

FormatChoice

final readonly class in quittio/core

Quittio\Core\Formats\FormatChoice · Source

Result of the format resolution: output format key and profile key.

Properties#

PropertyTypeDescription
$format readonlystring
$profile readonly?string
$reason readonly?string

Methods#

MethodDescription
->__construct()

__construct()#

public function __construct(
    string $format,
    ?string $profile = null,
    ?string $reason = null,
)
ParameterTypeDescription
$formatstring
$profile?string = null
$reason?string = null

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