CloudCastle CurrencyConverter

EcbRateParser
in package
implements FeedParser

FinalYes

Разбор суточного XML Европейского центробанка (курсы к евро) без libxml.

Table of Contents

Interfaces

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

Properties

$catalog  : CurrencyCatalog
$decimal  : DecimalRate
$guard  : SourceGuard

Methods

__construct()  : mixed
parse()  : ArrayRateProvider
nextRate()  : array{code: string, rate: string, rest: string}|null

Properties

Methods

nextRate()

private nextRate(string $payload) : array{code: string, rate: string, rest: string}|null
Parameters
$payload : string
Tags
throws
InvalidRateException
Return values
array{code: string, rate: string, rest: string}|null
On this page

Search results