AddBusNameStampMiddleware
in package
implements
MiddlewareInterface
Adds the BusNameStamp to the bus.
Tags
Table of Contents
Interfaces
Properties
- $busName : string
Methods
- __construct() : mixed
- handle() : Envelope
Properties
$busName
private
string
$busName
Methods
__construct()
public
__construct(string $busName) : mixed
Parameters
- $busName : string
handle()
public
handle(Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $envelope : Envelope
- $stack : StackInterface