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