RouterContextMiddleware
in package
implements
MiddlewareInterface
Restore the Router context when processing the message.
Tags
Table of Contents
Interfaces
Properties
- $router : mixed
Methods
- __construct() : mixed
- handle() : Envelope
Properties
$router
private
mixed
$router
Methods
__construct()
public
__construct(RequestContextAwareInterface $router) : mixed
Parameters
- $router : RequestContextAwareInterface
handle()
public
handle(Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $envelope : Envelope
- $stack : StackInterface