class SendMessageMiddleware implements MiddlewareInterface, EnvelopeAwareInterface

Methods

__construct(SenderLocatorInterface $senderLocator, array $messagesToSendAndHandleMapping = [])

No description

mixed
handle($message, callable $next)

No description

Details

at line 30
__construct(SenderLocatorInterface $senderLocator, array $messagesToSendAndHandleMapping = [])

Parameters

SenderLocatorInterface $senderLocator
array $messagesToSendAndHandleMapping

at line 39
mixed handle($message, callable $next)

Parameters

$message
callable $next

Return Value

mixed