Skip to content

Commit

Permalink
[consumption] add queue subscriber interface
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Apr 26, 2017
1 parent c1e2370 commit 061faf7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/enqueue/Consumption/QueueSubscriberInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Enqueue\Consumption;

interface QueueSubscriberInterface
{
/**
* The result must contain a set of queue names a you expect them to see in the broker
* or the name you use to get the queue object from the context
*
* @return string[]
*/
public static function getSubscribedQueues();
}

0 comments on commit 061faf7

Please sign in to comment.