We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 397526a + d319c5a commit 92bfd0eCopy full SHA for 92bfd0e
docs/transport/amqp.md
@@ -78,7 +78,7 @@ use Interop\Amqp\AmqpTopic;
78
/** @var \Enqueue\AmqpExt\AmqpContext $psrContext */
79
80
$fooTopic = $psrContext->createTopic('foo');
81
-$fooTopic->addFlag(AmqpTopic::TYPE_FANOUT);
+$fooTopic->setType(AmqpTopic::TYPE_FANOUT);
82
$psrContext->declareTopic($fooTopic);
83
84
// to remove topic use delete topic method
0 commit comments