Commodity
in package
implements
DirectiveInterface
FinalYes
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- getCurrency() : string
- getDate() : string
- getDirectiveType() : string
- getMetadata() : array<string, mixed>
- toArray() : array<string, mixed>
Properties
$currency
private
string
$currency
$date
private
string
$date
$metadata
private
array<string, mixed>
$metadata
= []
Methods
__construct()
public
__construct(string $date, string $currency[, array<string, mixed> $metadata = [] ]) : mixed
Parameters
- $date : string
- $currency : string
- $metadata : array<string, mixed> = []
getCurrency()
public
getCurrency() : string
Return values
stringgetDate()
public
getDate() : string
Return values
stringgetDirectiveType()
public
getDirectiveType() : string
Return values
stringgetMetadata()
public
getMetadata() : array<string, mixed>
Return values
array<string, mixed>toArray()
public
toArray() : array<string, mixed>