CountryRepository
in
Interface CountryRepository
Table of Contents
- getActiveCountries() : Countries
- Returns all countries customers that are active.
- getCountries() : Countries
- Returns all available countries.
- getCountryById() : Country
- Returns a specific country based on the given ID.
Methods
getActiveCountries()
Returns all countries customers that are active.
public
getActiveCountries(int $languageId) : Countries
Parameters
- $languageId : int
Return values
Countries —getCountries()
Returns all available countries.
public
getCountries(int $languageId) : Countries
Parameters
- $languageId : int
Return values
Countries —getCountryById()
Returns a specific country based on the given ID.
public
getCountryById(CountryId $id, int $languageId) : Country
Parameters
- $id : CountryId
- $languageId : int