class CantonSearch (View source)

Methods

__construct()

No description

mixed
findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

mixed
findByName(string $name)

Find Canton by Name.

Collection
getDataSet()

Read JSON Data.

Details

at line line 16
__construct()

at line line 28
mixed findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

Parameters

string $abbreviation

Return Value

mixed Returns an object or null, if no canton was found

at line line 42
mixed findByName(string $name)

Find Canton by Name.

Parameters

string $name

Return Value

mixed Returns an object or null, if no canton was found

at line line 59
Collection getDataSet()

Read JSON Data.

Return Value

Collection