We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2278fce commit ebd34b8Copy full SHA for ebd34b8
SnsQsContext.php
@@ -173,6 +173,17 @@ public function close(): void
173
$this->getSqsContext()->close();
174
}
175
176
+ public function setSubscriptionAttributes(SnsQsTopic $topic, SnsQsQueue $queue, array $attributes): void
177
+ {
178
+ $this->getSnsContext()->setSubscriptionAttributes(new SnsSubscribe(
179
+ $topic,
180
+ $this->getSqsContext()->getQueueArn($queue),
181
+ SnsSubscribe::PROTOCOL_SQS,
182
+ false,
183
+ $attributes,
184
+ ));
185
+ }
186
+
187
private function getSnsContext(): SnsContext
188
{
189
if (null === $this->snsContext) {
0 commit comments