Documentation

RoutableMessageBus
in package
implements MessageBusInterface

Bus of buses that is routable using a BusNameStamp.

This is useful when passed to Worker: messages received from the transport can be sent to the correct bus.

Tags
author

Ryan Weaver ryan@symfonycasts.com

Table of Contents

Interfaces

MessageBusInterface

Properties

$busLocator  : mixed
$fallbackBus  : mixed

Methods

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

Properties

Methods

dispatch()

Dispatches the given message.

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

        
On this page

Search results