Documentation

TraceableMessageBus
in package
implements MessageBusInterface

Tags
author

Samuel Roze samuel.roze@gmail.com

Table of Contents

Interfaces

MessageBusInterface

Properties

$decoratedBus  : mixed
$dispatchedMessages  : array<string|int, mixed>

Methods

__construct()  : mixed
dispatch()  : Envelope
Dispatches the given message.
getDispatchedMessages()  : array<string|int, mixed>
reset()  : mixed
getCaller()  : array<string|int, mixed>

Properties

Methods

dispatch()

Dispatches the given message.

public dispatch(object $message[, array<string|int, mixed> $stamps = [] ]) : Envelope
Parameters
$message : object

The message or the message pre-wrapped in an envelope

$stamps : array<string|int, mixed> = []
Return values
Envelope

getDispatchedMessages()

public getDispatchedMessages() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCaller()

private getCaller() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results