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