Currency
in package
implements
Currency, JsonSerializable
Tags
Table of Contents
Interfaces
- Currency
- JsonSerializable
Properties
- $countries : array<string|int, Country>|null|Collection
- $decimals : int|null
- $engName : string|null
- $id : int|null
- $symbolHex : string|null
- $three : string|null
Methods
- getCountries() : Collection|array<string|int, Country>|null
- getDecimals() : int|null
- getEngName() : string|null
- getId() : int|null
- getIsoCode3() : string
- getSymbolHex() : string|null
- getThree() : string|null
- jsonSerialize() : mixed
- setCountries() : void
- setDecimals() : void
- setEngName() : void
- setId() : void
- setSymbolHex() : void
- setThree() : void
Properties
$countries
private
array<string|int, Country>|null|Collection
$countries
Tags
$decimals
private
int|null
$decimals
Tags
$engName
private
string|null
$engName
Tags
$id
private
int|null
$id
Tags
$symbolHex
private
string|null
$symbolHex
Tags
$three
private
string|null
$three
Tags
Methods
getCountries()
public
getCountries() : Collection|array<string|int, Country>|null
Return values
Collection|array<string|int, Country>|nullgetDecimals()
public
getDecimals() : int|null
Return values
int|nullgetEngName()
public
getEngName() : string|null
Return values
string|nullgetId()
public
getId() : int|null
Return values
int|nullgetIsoCode3()
public
getIsoCode3() : string
Return values
string —$isoCode3
getSymbolHex()
public
getSymbolHex() : string|null
Return values
string|nullgetThree()
public
getThree() : string|null
Return values
string|nulljsonSerialize()
public
jsonSerialize() : mixed
setCountries()
public
setCountries(Collection|array<string|int, Country>|null $countries) : void
Parameters
- $countries : Collection|array<string|int, Country>|null
setDecimals()
public
setDecimals(int|null $decimals) : void
Parameters
- $decimals : int|null
setEngName()
public
setEngName(string|null $engName) : void
Parameters
- $engName : string|null
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setSymbolHex()
public
setSymbolHex(string|null $symbolHex) : void
Parameters
- $symbolHex : string|null
setThree()
public
setThree(string|null $three) : void
Parameters
- $three : string|null