OpenExchangeRates
class OpenExchangeRates extends AbstractConverter
Constants
API_URL |
|
Properties
protected | $appId |
Methods
array
converterDetails()
Returns information about the converter Must return array:
array
getExchangeRates($base, array $currencies)
Returns list of exchange rates for currencies specified.
__construct(array $config = [])
No description
Details
at line 22
array
converterDetails()
Returns information about the converter Must return array:
[ 'name' => 'Open Exchange Rates', 'description' => 'Conversion services provided by Open Exchange Rates.' ]
at line 33
array
getExchangeRates($base, array $currencies)
Returns list of exchange rates for currencies specified.
in
AbstractConverter at line 36
getName()
No description
in
AbstractConverter at line 41
getDescription()
No description
in
AbstractConverter at line 49
protected Client
getHttpClient()
No description
in
AbstractConverter at line 63
$this
forgetCache()
Forget the repository cache.
in
AbstractConverter at line 73
getCacheKey()
No description
in
AbstractConverter at line 83
float|int
getCacheLifetime()
Get the cache lifetime.
in
AbstractConverter at line 88
protected
cacheCallback($cacheKey, Closure $closure)
No description
in
AbstractConverter at line 99
protected Repository
getCacheDriver()
No description
at line 14
__construct(array $config = [])
No description