CurrenciesBundle
in package
Tags
Table of Contents
- $currencies : array<string|int, mixed>
- $symbols : array<string|int, mixed>
- getCurrencies() : array<string|int, mixed>
- getPositions() : array<string|int, mixed>
- getSymbol() : Currency
- getSymbols() : array<string|int, mixed>
- currenciesList() : array<string|int, mixed>
- symbolsList() : array<string|int, mixed>
Properties
$currencies
protected
array<string|int, mixed>
$currencies
= []
Tags
$symbols
protected
array<string|int, mixed>
$symbols
= []
Tags
Methods
getCurrencies()
public
getCurrencies() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[Currency code => Currency label (with symbol)]
getPositions()
public
getPositions() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getSymbol()
public
getSymbol(string $code) : Currency
Parameters
- $code : string
-
Currency code, like 'EUR'.
Tags
Return values
Currency —symbol or '' if no such currency.
getSymbols()
public
getSymbols() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[Currency code => Currency symbol]
currenciesList()
protected
currenciesList() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[Currency code => Currency label]
symbolsList()
protected
symbolsList() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[Currency code => Currency symbol]