Currencies
in package
implements
IteratorAggregate
Class Currencies
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $currencies : array<string|int, Currency>
- create() : Currencies
- getIterator() : Traversable|array<string|int, Currency>
- toArray() : array<string|int, mixed>
- __construct() : mixed
- Currencies constructor.
Properties
$currencies
private
array<string|int, Currency>
$currencies
Methods
create()
public
static create(Currency ...$currencies) : Currencies
Parameters
- $currencies : Currency
Return values
Currencies —getIterator()
public
getIterator() : Traversable|array<string|int, Currency>
Return values
Traversable|array<string|int, Currency> —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
Currencies constructor.
private
__construct(array<string|int, Currency> $currencies) : mixed
Parameters
- $currencies : array<string|int, Currency>