Country
extends Facade
in package
class Country.
Tags
Table of Contents
Methods
- buildCountrySearchForm() : array<string|int, mixed>
- clearCache() : void
- getAllActiveCountries() : array<string|int, mixed>
- getCountries() : array<string|int, mixed>
- getCountry() : array<string|int, mixed>|null
- getCountryName() : string|null
- getCountryStateName() : string
- getCountryStates() : array<string|int, mixed>
- getDefaultCountryIso() : string
- getDefaultCountryStateIso() : string
- getStatesSuggestions() : array<string|int, mixed>
- getFacadeAccessor() : mixed
Methods
buildCountrySearchForm()
public
static buildCountrySearchForm() : array<string|int, mixed>
Return values
array<string|int, mixed>clearCache()
public
static clearCache() : void
getAllActiveCountries()
public
static getAllActiveCountries() : array<string|int, mixed>
Return values
array<string|int, mixed>getCountries()
public
static getCountries() : array<string|int, mixed>
Return values
array<string|int, mixed>getCountry()
public
static getCountry(string $countryIso) : array<string|int, mixed>|null
Parameters
- $countryIso : string
Return values
array<string|int, mixed>|nullgetCountryName()
public
static getCountryName(string $countryIso) : string|null
Parameters
- $countryIso : string
Return values
string|nullgetCountryStateName()
public
static getCountryStateName(string $countryIso, string $stateIso) : string
Parameters
- $countryIso : string
- $stateIso : string
Return values
stringgetCountryStates()
public
static getCountryStates(string $countryIso) : array<string|int, mixed>
Parameters
- $countryIso : string
Return values
array<string|int, mixed>getDefaultCountryIso()
public
static getDefaultCountryIso() : string
Return values
stringgetDefaultCountryStateIso()
public
static getDefaultCountryStateIso() : string
Return values
stringgetStatesSuggestions()
public
static getStatesSuggestions(User $context, array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $context : User
- $params : array<string|int, mixed>
Return values
array<string|int, mixed>getFacadeAccessor()
protected
static getFacadeAccessor() : mixed