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