\Nano4\Utils\CurrencyOpenExchangeRates

Get exchange rates and conversions using the OpenExchangeRates API.

Summary

Methods
Properties
Constants
__construct()
getRate()
convert()
No public properties found
No constants found
No protected methods found
$base
$rates
N/A
No private methods found
No private properties found
N/A

Properties

$base

$base : 

Type

$rates

$rates : 

Type

Methods

__construct()

__construct(  $config) 

Parameters

$config

getRate()

getRate(  $from,   $to) 

Parameters

$from
$to

convert()

convert(  $val,   $from,   $to) 

Parameters

$val
$from
$to