Region
in package
Tags
Table of Contents
- $_children : array<string|int, Region>
- $_country : string
- $_description : string
- $_id : string
- $_language : string
- $_name : string
- $_postalCodes : array<string|int, int>
- $_pParent : null|Region
- $_state : string
- __construct() : mixed
- getChildren() : array<string|int, Region>
- getCountry() : string
- getDescription() : string
- getId() : string
- getLanguage() : string
- getName() : string
- getParent() : Region|null
- getPostalCodes() : array<string|int, int>
- getState() : string
- setChildren() : mixed
- setCountry() : mixed
- setDescription() : mixed
- setName() : mixed
- setParent() : mixed
- setPostalCodes() : mixed
- setState() : mixed
Properties
$_children
private
array<string|int, Region>
$_children
= []
$_country
private
string
$_country
= ''
$_description
private
string
$_description
= ''
$_id
private
string
$_id
= null
$_language
private
string
$_language
= ''
$_name
private
string
$_name
= ''
$_postalCodes
private
array<string|int, int>
$_postalCodes
= []
$_pParent
private
null|Region
$_pParent
= null
$_state
private
string
$_state
= ''
Methods
__construct()
public
__construct(string $id, string $language) : mixed
Parameters
- $id : string
- $language : string
Return values
mixed —getChildren()
public
getChildren() : array<string|int, Region>
Return values
array<string|int, Region> —getCountry()
public
getCountry() : string
Return values
string —getDescription()
public
getDescription() : string
Return values
string —getId()
public
getId() : string
Return values
string —getLanguage()
public
getLanguage() : string
Return values
string —getName()
public
getName() : string
Return values
string —getParent()
public
getParent() : Region|null
Return values
Region|null —getPostalCodes()
public
getPostalCodes() : array<string|int, int>
Return values
array<string|int, int> —getState()
public
getState() : string
Return values
string —setChildren()
public
setChildren(array<string|int, Region> $children) : mixed
Parameters
- $children : array<string|int, Region>
Return values
mixed —setCountry()
public
setCountry(string $country) : mixed
Parameters
- $country : string
Return values
mixed —setDescription()
public
setDescription(string $description) : mixed
Parameters
- $description : string
Return values
mixed —setName()
public
setName(string $name) : mixed
Parameters
- $name : string
Return values
mixed —setParent()
public
setParent(Region|null $pParent) : mixed
Parameters
- $pParent : Region|null
Return values
mixed —setPostalCodes()
public
setPostalCodes(array<string|int, mixed> $postalcodes) : mixed
Parameters
- $postalcodes : array<string|int, mixed>
Return values
mixed —setState()
public
setState(string $state) : mixed
Parameters
- $state : string