class HandleMessageMiddleware implements MiddlewareInterface

Methods

__construct(HandlersLocatorInterface $handlersLocator, bool $allowNoHandlers = false)

No description

handle(Envelope $envelope, StackInterface $stack)

No description

Details

__construct(HandlersLocatorInterface $handlersLocator, bool $allowNoHandlers = false)

Parameters

HandlersLocatorInterface $handlersLocator
bool $allowNoHandlers

Envelope handle(Envelope $envelope, StackInterface $stack)

Parameters

Envelope $envelope
StackInterface $stack

Return Value

Envelope