CurrenciesBundle
in package

Tags
since
1.0

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
since
1.0

$symbols

protected array<string|int, mixed> $symbols = []
Tags
since
1.0

Methods

getCurrencies()

public getCurrencies() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

[Currency code => Currency label (with symbol)]

getPositions()

public getPositions() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

getSymbol()

public getSymbol(string $code) : Currency
Parameters
$code : string

Currency code, like 'EUR'.

Tags
since
1.0
Return values
Currency

symbol or '' if no such currency.

getSymbols()

public getSymbols() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

[Currency code => Currency symbol]

currenciesList()

protected currenciesList() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

[Currency code => Currency label]

symbolsList()

protected symbolsList() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

[Currency code => Currency symbol]

Search results