class CantonManager (View source)

Methods

__construct()

No description

getByAppreviation(string $abbreviation)

Get Canton by abbreviation.

getByName(string $name)

Get Canton by Name.

getByZipcode(integer $zipcode)

Get Canton by Zipcode

Details

at line line 22
__construct()

at line line 37
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 57
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 74
Canton getByZipcode(integer $zipcode)

Get Canton by Zipcode

Parameters

integer $zipcode

Return Value

Canton

Exceptions

Exception if not Canton was found