State
class State extends Alvine
Container-Status
State: {
Running: true,
Pid: 31588,
ExitCode: 0,
StartedAt: "2013-09-20T18:31:38.050822433+02:00",
FinishedAt: "2013-11-06T14:49:36.024905524Z",
Ghost: false
},
Properties
protected boolean | $running | ||
protected integer | $pid | ||
protected integer | $exitCode | ||
protected DatTime | $startedAt | ||
protected DatTime | $finishedAt | ||
protected boolean | $ghost |
Methods
__construct(boolean $running, integer $pid, integer $exitCode, DateTime $startedAt = null, DateTime $finishedAt = null, boolean $ghost = false)
Neue Instanz erstellen
boolean
isRunning()
Läuft der Container
integer
getPID()
Prozess-ID
string
getExitCode()
Exit-Code
DateTime|null
getStartedAt()
Startdatum
DateTime|null
getFinishedAt()
Enddatum
boolean
isGhost()
Ghost
static State
getInstanceFromArray(array $array)
Neues StatusObjekt erstellen
Details
at line 88
__construct(boolean $running, integer $pid, integer $exitCode, DateTime $startedAt = null, DateTime $finishedAt = null, boolean $ghost = false)
Neue Instanz erstellen
at line 105
boolean
isRunning()
Läuft der Container
at line 114
integer
getPID()
Prozess-ID
at line 123
string
getExitCode()
Exit-Code
at line 132
DateTime|null
getStartedAt()
Startdatum
at line 141
DateTime|null
getFinishedAt()
Enddatum
at line 150
boolean
isGhost()
Ghost
at line 169
static State
getInstanceFromArray(array $array)
Neues StatusObjekt erstellen
State: { Running: true, Pid: 31588, ExitCode: 0, StartedAt: "2013-09-20T18:31:38.050822433+02:00", Ghost: false },