Final Class Yiisoft\Queue\Debug\QueueConsumerProviderProxy
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
Method Details
| public mixed __construct ( Yiisoft\ | ||
| $provider | Yiisoft\ |
|
| $collector | Yiisoft\ |
|
public function __construct(private readonly QueueConsumerProviderInterface $provider, private readonly QueueCollector $collector) {}
| public Yiisoft\ | ||
| $queueName | string|\ |
|
public function getConsumer(string|BackedEnum $queueName): QueueConsumerInterface
{
return new QueueConsumerDecorator($this->provider->getConsumer($queueName), $this->collector);
}
| public array getConsumerQueueNames ( ) |
public function getConsumerQueueNames(): array
{
return $this->provider->getConsumerQueueNames();
}
| public boolean hasConsumer ( string|\ | ||
| $queueName | string|\ |
|
public function hasConsumer(string|BackedEnum $queueName): bool
{
return $this->provider->hasConsumer($queueName);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.