class StackMiddleware implements MiddlewareInterface, StackInterface

Methods

__construct(Iterator $middlewareIterator = null)

No description

next()

Returns the next middleware to process a message.

handle(Envelope $envelope, StackInterface $stack)

No description

Details

at line 25
__construct(Iterator $middlewareIterator = null)

Parameters

Iterator $middlewareIterator

at line 30
MiddlewareInterface next()

Returns the next middleware to process a message.

Return Value

MiddlewareInterface

at line 46
Envelope handle(Envelope $envelope, StackInterface $stack)

Parameters

Envelope $envelope
StackInterface $stack

Return Value

Envelope