class Transition extends Entry

Eintrag einer History

Properties

protected int $timestamp from Entry
protected string $message from Entry
protected string $workflow from Entry
protected string $from
protected string $to

Methods

__construct()

No description

from Entry
Timestamp
getTimestamp()

No description

from Entry
string
getMessage()

No description

from Entry
string
getWorkflow()

No description

from Entry
static Entry
getInstance(string $workflow, string|null $message = null, Timestamp $timestamp = null)

No description

from Entry
string
trimOutput($output, int $length, bool $right = true)

No description

from Entry
array
getOutput()

No description

string
getOutputIcon()

No description

string
__toString()

No description

from Entry
string
getFrom()

No description

string
getTo()

No description

static Entry
getInstanceForTransition(string $workflow, string $from, string $to, string|null $message = null, Timestamp $timestamp = null)

No description

Details

in Entry at line 57
protected __construct()

in Entry at line 68
Timestamp getTimestamp()

Return Value

Timestamp

in Entry at line 76
string getMessage()

Return Value

string

in Entry at line 84
string getWorkflow()

Return Value

string

in Entry at line 96
static Entry getInstance(string $workflow, string|null $message = null, Timestamp $timestamp = null)

Parameters

string $workflow
string|null $message
Timestamp $timestamp

Return Value

Entry

in Entry at line 119
protected string trimOutput($output, int $length, bool $right = true)

Parameters

$output
int $length
bool $right

Return Value

string

at line 94
protected array getOutput()

Return Value

array

at line 86
protected string getOutputIcon()

Return Value

string

in Entry at line 153
string __toString()

Return Value

string

at line 51
string getFrom()

Return Value

string

at line 59
string getTo()

Return Value

string

at line 73
static Entry getInstanceForTransition(string $workflow, string $from, string $to, string|null $message = null, Timestamp $timestamp = null)

Parameters

string $workflow
string $from
string $to
string|null $message
Timestamp $timestamp

Return Value

Entry