class Cantons (View source)

Properties

protected array $cantons Array of Cantons

Methods

__construct()

No description

array
getAll()

Return all Cantons

Array
getAllAsArray(string $defaultLanguage = 'en')

Return all Cantons as a one dimensional array of abbreviation and names

Details

__construct()

array getAll()

Return all Cantons

Return Value

array of Wnx\SwissCantons\Canton

Array getAllAsArray(string $defaultLanguage = 'en')

Return all Cantons as a one dimensional array of abbreviation and names

Parameters

string $defaultLanguage

Return Value

Array