State
class State extends Model implements ModelFactory
State
Constants
ACTIVE |
|
INACTIVE |
|
ACTIVATING |
|
DEACTIVATING |
|
FAILED |
|
Properties
protected string | $unitHash | ||
protected string | $machineID | ||
protected string | $name | ||
protected string | $systemdActiveState | ||
protected string | $systemdLoadState | ||
protected string | $systemdSubState |
Methods
__construct(string $name)
__construct
string
getUnitHash()
getHash
string
getMachineID()
getMachineID
string
getName()
getName
string
getSystemdActiveState()
getSystemdActiveState
string
getSystemdLoadState()
getSystemdLoadState
string
getSystemdSubState()
getSystemdSubState
setUnitHash(string $hash)
setHash
setMachineID(string $machineID)
setMachineID
setSystemdActiveState(string $systemdActiveState)
setSystemdActiveState
setSystemdLoadState(string $systemdLoadState)
setSystemdLoadState
setSystemdSubState(string $systemdSubState)
setSystemdSubState
static State
getInstanceFromArray(Array|ArrayHelper $array)
getInstanceFromArray
Details
at line 104
__construct(string $name)
__construct
at line 115
string
getUnitHash()
getHash
at line 124
string
getMachineID()
getMachineID
at line 133
string
getName()
getName
at line 142
string
getSystemdActiveState()
getSystemdActiveState
at line 151
string
getSystemdLoadState()
getSystemdLoadState
at line 160
string
getSystemdSubState()
getSystemdSubState
at line 171
State
setUnitHash(string $hash)
setHash
at line 183
State
setMachineID(string $machineID)
setMachineID
at line 195
State
setName(string $name)
setName
at line 207
State
setSystemdActiveState(string $systemdActiveState)
setSystemdActiveState
at line 219
State
setSystemdLoadState(string $systemdLoadState)
setSystemdLoadState
at line 231
State
setSystemdSubState(string $systemdSubState)
setSystemdSubState
at line 243
static State
getInstanceFromArray(Array|ArrayHelper $array)
getInstanceFromArray