CountriesBundle
in package
Tags
Table of Contents
- $countries : array<string|int, mixed>
- getCode() : string
- getCountries() : array<string|int, mixed>
- getLabel() : string
- countriesList() : array<string|int, mixed>
Properties
$countries
protected
array<string|int, mixed>
$countries
= []
Tags
Methods
getCode()
public
getCode(string $label) : string
Parameters
- $label : string
Tags
Return values
string —getCountries()
public
getCountries() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[Country code => Country label]
getLabel()
public
getLabel(string $code) : string
Parameters
- $code : string
Tags
Return values
string —countriesList()
protected
countriesList() : array<string|int, mixed>