InitTrait
Table of Contents
Properties
- $heading : string|null
- $items : array<int, ExpressPaymentItemDto>
Methods
- hasItems() : bool
- setHeading() : self
- Section heading. Null renders the component's own default key, so a caller that has nothing module-specific to say does not have to pass anything.
- setItems() : self
- prepareItems() : void
Properties
$heading
private
string|null
$heading
= null
$items
private
array<int, ExpressPaymentItemDto>
$items
= []
Methods
hasItems()
public
hasItems() : bool
Return values
boolsetHeading()
Section heading. Null renders the component's own default key, so a caller that has nothing module-specific to say does not have to pass anything.
public
setHeading(string|null $heading) : self
Parameters
- $heading : string|null
Return values
selfsetItems()
public
setItems(array<int, ExpressPaymentItemDto> $items) : self
Parameters
- $items : array<int, ExpressPaymentItemDto>
Return values
selfprepareItems()
private
prepareItems() : void