Interface Yiisoft\Queue\Provider\QueueConsumerProviderInterface
Finds consumer capabilities by logical queue name.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getConsumer() | Yiisoft\ |
|
| getConsumerQueueNames() | Yiisoft\ |
|
| hasConsumer() | Whether this queue name has a configured consumer role. | Yiisoft\ |
Method Details
| public abstract Yiisoft\ | ||
| $queueName | string|\ |
|
| throws | \ |
|
|---|---|---|
public function getConsumer(string|BackedEnum $queueName): QueueConsumerInterface;
| public abstract list | ||
| return | list |
Queue names which have a configured consumer role. |
|---|---|---|
public function getConsumerQueueNames(): array;
Whether this queue name has a configured consumer role.
| public abstract boolean hasConsumer ( string|\ | ||
| $queueName | string|\ |
|
public function hasConsumer(string|BackedEnum $queueName): bool;
User Contributed Notes
Leave a comment
Join the conversation to share a note.