phpDocumentor

Country

Class Country

Table of Contents

$addressFormat  : string
$id  : CountryId
$isActive  : bool
$isoCode2  : string
$isoCode3  : string
$name  : string
$zones  : Zones
addressFormat()  : string
create()  : Country
id()  : int
isActive()  : bool
isoCode2()  : string
isoCode3()  : string
name()  : string
toArray()  : array<string|int, mixed>
zones()  : Zones
__construct()  : mixed

Properties

$addressFormat

private string $addressFormat

Methods

addressFormat()

public addressFormat() : string
Return values
string

create()

public static create(CountryId $id, string $name, Zones $zones, string $isoCode2, string $isoCode3, string $addressFormat, bool $isActive) : Country
Parameters
$id : CountryId
$name : string
$zones : Zones
$isoCode2 : string
$isoCode3 : string
$addressFormat : string
$isActive : bool
Return values
Country

id()

public id() : int
Return values
int

isActive()

public isActive() : bool
Return values
bool

isoCode2()

public isoCode2() : string
Return values
string

isoCode3()

public isoCode3() : string
Return values
string

name()

public name() : string
Return values
string

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

__construct()

private __construct(CountryId $id, string $name, Zones $zones, string $isoCode2, string $isoCode3, string $addressFormat, bool $isActive) : mixed
Parameters
$id : CountryId
$name : string
$zones : Zones
$isoCode2 : string
$isoCode3 : string
$addressFormat : string
$isActive : bool
Return values
mixed

Search results