Documentation

SendersLocator
in package
implements SendersLocatorInterface

Maps a message to a list of senders.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

SendersLocatorInterface
Maps a message to a list of senders.

Properties

$sendersLocator  : mixed
$sendersMap  : array<string|int, mixed>

Methods

__construct()  : mixed
getSenders()  : iterable<string, SenderInterface>
Gets the senders for the given message name.

Properties

Methods

__construct()

public __construct(array<string, array<int, string>> $sendersMap, ContainerInterface $sendersLocator) : mixed
Parameters
$sendersMap : array<string, array<int, string>>

An array, keyed by "type", set to an array of sender aliases

$sendersLocator : ContainerInterface

Locator of senders, keyed by sender alias


        
On this page

Search results