ExchangeRates extends Component
Currency Exchange Rate factory
Table of Contents
Properties
| $components | |
| $helpers | |
| $models |
Methods
| __construct() | |
| create() | Creates a new instance of the given Exchange Rate processor |
Methods
__construct()
public
__construct() : mixed
create()
Creates a new instance of the given Exchange Rate processor
public
static create(string $processor[, array<string|int, mixed> $params = [] ]) : object
Parameters
- $processor : string
-
The exchange rate process to initialize
- $params : array<string|int, mixed> = []
-
Parameters to pass to the construtor (if any)
Return values
object —Returns an instance of the given class