Skip to content

Commit 3f2522e

Browse files
committed
[consumption] add queue subscriber interface
1 parent 8c1f794 commit 3f2522e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
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)