CurrencyTypeFactory
in package
implements
TypeFactory
Class CurrencyTypeFactory
Interfaces, Classes and Traits
- TypeFactory
- Interface TypeFactory
Table of Contents
- $db : Connection
- __construct() : mixed
- CurrencyTypeFactory constructor.
- createType() : Type
- getCurrencies() : array<string|int, mixed>
Properties
$db
private
Connection
$db
Methods
__construct()
CurrencyTypeFactory constructor.
public
__construct(Connection $db) : mixed
Parameters
- $db : Connection
Return values
mixed —createType()
public
createType(array<string|int, mixed> $params) : Type
Parameters
- $params : array<string|int, mixed>
Return values
Type —getCurrencies()
private
getCurrencies() : array<string|int, mixed>