phpDocumentor

Zone

Class Zone

Table of Contents

$code  : string
$id  : ZoneId
$name  : string
code()  : string
create()  : Zone
id()  : int
name()  : string
toArray()  : array<string|int, mixed>
__construct()  : mixed

Properties

$code

private string $code

$name

private string $name

Methods

code()

public code() : string
Return values
string

create()

public static create(ZoneId $id, string $code, string $name) : Zone
Parameters
$id : ZoneId
$code : string
$name : string
Return values
Zone

id()

public id() : int
Return values
int

name()

public name() : string
Return values
string

toArray()

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

__construct()

private __construct(ZoneId $id, string $code, string $name) : mixed
Parameters
$id : ZoneId
$code : string
$name : string
Return values
mixed

Search results