SingleRateParser
in package
implements
FeedParser
FinalYes
Ответ из одного числа для заранее известной пары (`<double>0.9</double>` у WebserviceX).
Table of Contents
Interfaces
- FeedParser
- Разбор тела фида в таблицу курсов.
Properties
Methods
- __construct() : mixed
- parse() : ArrayRateProvider
Properties
$base read-only
private
Currency
$base
$decimal read-only
private
DecimalRate
$decimal
$guard read-only
private
SourceGuard
$guard
$quote read-only
private
Currency
$quote
Methods
__construct()
public
__construct(DecimalRate $decimal, SourceGuard $guard, Currency $base, Currency $quote) : mixed
Parameters
- $decimal : DecimalRate
- $guard : SourceGuard
- $base : Currency
- $quote : Currency
parse()
public
parse(string $payload) : ArrayRateProvider
Parameters
- $payload : string
Attributes
- #[Override]