interface HandlersLocatorInterface

Maps a message to a list of handlers.

Methods

iterable
getHandlers(Envelope $envelope)

Returns the handlers for the given message name.

Details

iterable getHandlers(Envelope $envelope)

Returns the handlers for the given message name.

Parameters

Envelope $envelope

Return Value

iterable Indexed by handler alias if available