WorkerMessageHandledEvent
extends AbstractWorkerMessageEvent
in package
FinalYes
Dispatched after a message was received from a transport and successfully handled.
The event name is the class name.
Table of Contents
Properties
- $envelope : mixed
- $receiverName : string
Methods
- __construct() : mixed
- addStamps() : void
- getEnvelope() : Envelope
- getReceiverName() : string
- Returns a unique identifier for transport receiver this message was received from.
Properties
$envelope
private
mixed
$envelope
$receiverName
private
string
$receiverName
Methods
__construct()
public
__construct(Envelope $envelope, string $receiverName) : mixed
Parameters
- $envelope : Envelope
- $receiverName : string
addStamps()
public
addStamps(StampInterface ...$stamps) : void
Parameters
- $stamps : StampInterface
getEnvelope()
public
getEnvelope() : Envelope
Return values
EnvelopegetReceiverName()
Returns a unique identifier for transport receiver this message was received from.
public
getReceiverName() : string