class ActivationMiddleware implements MiddlewareInterface

Execute the inner middleware according to an activation strategy.

Methods

__construct(MiddlewareInterface $inner, $activated)

No description

handle(Envelope $envelope, StackInterface $stack)

No description

Details

__construct(MiddlewareInterface $inner, $activated)

Parameters

MiddlewareInterface $inner
$activated

Envelope handle(Envelope $envelope, StackInterface $stack)

Parameters

Envelope $envelope
StackInterface $stack

Return Value

Envelope