CloudCastle CurrencyConverter

CurrencyCatalog
in package

FinalYes

Справочник ISO 4217. По умолчанию читает data/iso4217.csv, исторические коды подгружаются отдельно.

Table of Contents

Properties

$byCode  : array<string, Currency>
$byNumeric  : array<int, Currency>

Methods

__construct()  : mixed
all()  : Generator<string, Currency>
count()  : int
get()  : Currency
getByNumeric()  : Currency
has()  : bool
load()  : void
Свои валюты поверх ISO 4217, например data/crypto.csv. Номер 0 — валюта без номера ISO.
loadHistorical()  : void
ingest()  : void
ingestLine()  : void

Properties

Methods

has()

public has(string $code) : bool
Parameters
$code : string
Return values
bool

load()

Свои валюты поверх ISO 4217, например data/crypto.csv. Номер 0 — валюта без номера ISO.

public load(string $csv) : void
Parameters
$csv : string
Tags
throws
InvalidCurrencyDataException
On this page

Search results