Documentation

MessageBus
in package
implements MessageBusInterface

Tags
author

Samuel Roze samuel.roze@gmail.com

author

Matthias Noback matthiasnoback@gmail.com

author

Nicolas Grekas p@tchwork.com

Table of Contents

Interfaces

MessageBusInterface

Properties

$middlewareAggregate  : IteratorAggregate

Methods

__construct()  : mixed
dispatch()  : Envelope
Dispatches the given message.

Properties

$middlewareAggregate

private IteratorAggregate $middlewareAggregate

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

        
On this page

Search results