Final Class Yiisoft\Queue\Debug\QueueProducerProviderProxy
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
Method Details
| public mixed __construct ( Yiisoft\ | ||
| $provider | Yiisoft\ |
|
| $collector | Yiisoft\ |
|
public function __construct(private readonly QueueProducerProviderInterface $provider, private readonly QueueCollector $collector) {}
| public Yiisoft\ | ||
| $queueName | string|\ |
|
public function getProducer(string|BackedEnum $queueName): QueueProducerInterface
{
return new QueueProducerDecorator($this->provider->getProducer($queueName), $this->collector);
}
| public array getProducerQueueNames ( ) |
public function getProducerQueueNames(): array
{
return $this->provider->getProducerQueueNames();
}
| public boolean hasProducer ( string|\ | ||
| $queueName | string|\ |
|
public function hasProducer(string|BackedEnum $queueName): bool
{
return $this->provider->hasProducer($queueName);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.