Skip to content

Commit 061faf7

Browse files
committed
[consumption] add queue subscriber interface
1 parent c1e2370 commit 061faf7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: pkg/enqueue/Consumption/QueueSubscriberInterface.php

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Enqueue\Consumption;
4+
5+
interface QueueSubscriberInterface
6+
{
7+
/**
8+
* The result must contain a set of queue names a you expect them to see in the broker
9+
* or the name you use to get the queue object from the context
10+
*
11+
* @return string[]
12+
*/
13+
public static function getSubscribedQueues();
14+
}

0 commit comments

Comments
 (0)