CloudCastle CurrencyConverter

RecordRateParser
in package
implements FeedParser

FinalYes

Разбор фида из однотипных записей: курс одной единицы базы в валюте котировки.

Записи с неизвестными валютами и пустым курсом пропускаются.

Table of Contents

Interfaces

FeedParser
Разбор тела фида в таблицу курсов.

Properties

$catalog  : CurrencyCatalog
$decimal  : DecimalRate
$fields  : RecordFields
$format  : RecordFormat
$math  : IntegerMath

Methods

__construct()  : mixed
parse()  : ArrayRateProvider
codes()  : array{0: string, 1: string}
nominal()  : int
rate()  : ExchangeRate|null

Properties

Methods

codes()

private codes(string $record) : array{0: string, 1: string}
Parameters
$record : string
Return values
array{0: string, 1: string}
On this page

Search results