From 99dcae69703d66d371fcfbc1943a3cf8c9879193 Mon Sep 17 00:00:00 2001 From: Alexander Kozienko Date: Tue, 18 Apr 2017 17:05:30 +0300 Subject: [PATCH] share simple client context --- pkg/enqueue/Client/SimpleClient.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/enqueue/Client/SimpleClient.php b/pkg/enqueue/Client/SimpleClient.php index 957787cff..27f295cdb 100644 --- a/pkg/enqueue/Client/SimpleClient.php +++ b/pkg/enqueue/Client/SimpleClient.php @@ -112,6 +112,14 @@ public function consume(ExtensionInterface $runtimeExtension = null) $queueConsumer->consume($runtimeExtension); } + /** + * @return AmqpContext + */ + public function getContext() + { + return $this->context; + } + /** * @return QueueConsumer */