Country
in package
Table of Contents
- $country : string
- $countryISOCode : string
- $state : string
- __construct() : mixed
- Country constructor.
- getCountry() : string
- getCountryISOCode() : string
- getState() : string
- setCountry() : void
- setCountryISOCode() : void
- setState() : void
Properties
$country
private
string
$country
$countryISOCode
private
string
$countryISOCode
$state
private
string
$state
Methods
__construct()
Country constructor.
public
__construct(string $countryISOCode) : mixed
Parameters
- $countryISOCode : string
Return values
mixed —getCountry()
public
getCountry() : string
Return values
string —getCountryISOCode()
public
getCountryISOCode() : string
Return values
string —getState()
public
getState() : string
Return values
string —setCountry()
public
setCountry(string $country) : void
Parameters
- $country : string
Return values
void —setCountryISOCode()
public
setCountryISOCode(string $countryISOCode) : void
Parameters
- $countryISOCode : string
Return values
void —setState()
public
setState(string $state) : void
Parameters
- $state : string