class Machine extends Model implements ModelFactory

Machine

Properties

protected string $id
protected IP4Address $primaryIP

Methods

__construct(string $id, IP4Address $primaryIP)

Neues Objekt

string
getId()

ID

IP4Address
getPrimaryIP()

getPrimaryIP

static Machine
getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Details

at line 54
__construct(string $id, IP4Address $primaryIP)

Neues Objekt

Parameters

string $id ID
IP4Address $primaryIP IP-Address

at line 67
string getId()

ID

Return Value

string ID

at line 76
IP4Address getPrimaryIP()

getPrimaryIP

Return Value

IP4Address IP-Adresse

at line 87
static Machine getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Parameters

Array|ArrayHelper $array

Return Value

Machine