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#
| Property | Type | Description |
|---|---|---|
$format readonly | string | |
$profile readonly | ?string | |
$reason readonly | ?string |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(
string $format,
?string $profile = null,
?string $reason = null,
)| Parameter | Type | Description |
|---|---|---|
$format | string | |
$profile | ?string = null | |
$reason | ?string = null |