API reference / Quittio \ Core \ Data \ Presentation
LinePresentation
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Presentation\LinePresentation · Source
PDF-only presentation hints for an invoice line. Never written to XML.
Properties#
| Property | Type | Description |
|---|---|---|
$groupId readonly | ?string | |
$highlight readonly | bool | |
$showGrossPrice readonly | ?bool |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(
?string $groupId = null,
bool $highlight = false,
?bool $showGrossPrice = null,
)| Parameter | Type | Description |
|---|---|---|
$groupId | ?string = null | |
$highlight | bool = false | |
$showGrossPrice | ?bool = null |
with()#
public function with(array<string, mixed> $changes): staticReturns a copy with the given properties replaced.
| Parameter | Type | Description |
|---|---|---|
$changes | array<string, mixed> |
- Returns
static