CurrencyPair
in package
FinalYes
Пара валют и необязательная дата курса (исторический срез).
Table of Contents
Properties
Methods
- __construct() : mixed
- base() : Currency
- date() : string|null
- inverse() : self
- key() : string
- quote() : Currency
- withoutDate() : self
- composeKey() : string
Properties
$base read-only
private
Currency
$base
$date read-only
private
string|null
$date
$quote read-only
private
Currency
$quote
$storageKey read-only
private
string
$storageKey
Methods
__construct()
public
__construct(Currency $base, Currency $quote, string|null $date) : mixed
Parameters
Tags
base()
public
base() : Currency
Return values
Currencydate()
public
date() : string|null
Return values
string|nullinverse()
public
inverse() : self
Return values
selfkey()
public
key() : string
Return values
stringquote()
public
quote() : Currency
Return values
CurrencywithoutDate()
public
withoutDate() : self
Return values
selfcomposeKey()
private
composeKey(string|null $date) : string
Parameters
- $date : string|null