Skip to content

Commit a85f79d

Browse files
authored
Merge pull request #52 from php-enqueue/share_simple_client_context
share simple client context
2 parents a633b0a + 99dcae6 commit a85f79d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/enqueue/Client/SimpleClient.php

+8
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ public function consume(ExtensionInterface $runtimeExtension = null)
112112
$queueConsumer->consume($runtimeExtension);
113113
}
114114

115+
/**
116+
* @return AmqpContext
117+
*/
118+
public function getContext()
119+
{
120+
return $this->context;
121+
}
122+
115123
/**
116124
* @return QueueConsumer
117125
*/

0 commit comments

Comments
 (0)