class Country extends Model

Country

{ "countryISOCode": "string", "country": "string", "state": "string" }

Methods

__construct(string $countryISOCode)

neues Objekt

setCountryISOCode(string $countryISOCode)

Land im ISO 3166 ALPHA-3 Format

setCountry(string $country)

Land

setState(string $state)

Staat

Details

at line 47
__construct(string $countryISOCode)

neues Objekt

Parameters

string $countryISOCode ISO 3166 ALPHA-3

at line 69
Country setCountryISOCode(string $countryISOCode)

Land im ISO 3166 ALPHA-3 Format

minLength: 3 maxLength: 3

Beispiel DEU - Deutschland BGR - Bulgarien

Parameters

string $countryISOCode

Return Value

Country

at line 84
Country setCountry(string $country)

Land

minLength: 0 maxLength: 30

Parameters

string $country

Return Value

Country

at line 99
Country setState(string $state)

Staat

minLength: 0 maxLength: 30

Parameters

string $state

Return Value

Country