class Envelope

A message wrapped in an envelope with stamps (configurations, markers, .

..).

Methods

__construct($message, StampInterface ...$stamps)

No description

with(StampInterface ...$stamps)

No description

StampInterface|null
last(string $stampFqcn)

No description

array
all(string $stampFqcn = null)

No description

object
getMessage()

No description

Details

at line 31
__construct($message, StampInterface ...$stamps)

Parameters

$message
StampInterface ...$stamps

at line 46
Envelope with(StampInterface ...$stamps)

Parameters

StampInterface ...$stamps

Return Value

Envelope a new Envelope instance with additional stamp

at line 57
StampInterface|null last(string $stampFqcn)

Parameters

string $stampFqcn

Return Value

StampInterface|null

at line 65
array all(string $stampFqcn = null)

Parameters

string $stampFqcn

Return Value

array The stamps for the specified FQCN, or all stamps by their class name

at line 77
object getMessage()

Return Value

object The original message contained in the envelope