class CantonManager (View source)

Methods

__construct()

No description

getByAppreviation(string $abbreviation)

Get Canton by abbreviation.

getByName(string $name)

Get Canton by Name.

getByZipcode(int $zipcode)

Get Canton by Zipcode.

Details

at line line 23
__construct()

at line line 38
Canton getByAppreviation(string $abbreviation)

Get Canton by abbreviation.

Parameters

string $abbreviation

Return Value

Canton

Exceptions

Exception Throws Exception if no Canton was found

at line line 58
Canton getByName(string $name)

Get Canton by Name.

Parameters

string $name

Return Value

Canton

Exceptions

Exception Throws Exception if not Canton was found

at line line 78
Canton getByZipcode(int $zipcode)

Get Canton by Zipcode.

Parameters

int $zipcode

Return Value

Canton

Exceptions

Exception if not Canton was found