Documentation

CountryComponent extends Injectable
in package

Table of Contents

Methods

getAllEuCountries()  : array<string|int, mixed>
This method return all EU countries in array where key is countryId.
getCountryNameById()  : string|null
isEuMember()  : bool

Methods

getAllEuCountries()

This method return all EU countries in array where key is countryId.

public static getAllEuCountries() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCountryNameById()

public static getCountryNameById(int $countryId) : string|null
Parameters
$countryId : int
Return values
string|null

isEuMember()

public static isEuMember(mixed $countryId) : bool
Parameters
$countryId : mixed
Return values
bool

        
On this page

Search results